Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Intermittent hard fault on WIZnet socket read

Đang mở
#11,472 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
embedded-iot, networking

Hướng nghiên cứu

Start by reading the linked location in adafruit_wiznet5k.py around line 913, then compare the reported socket-availability and byte-processing logs with the hard-fault report. Try to reproduce the failure with one of the listed W5500 configurations and the reported network conditions; done means the fault is reproducible and its cause is identified or a fix is verified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Observed on the following W5500 configs:

Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Adafruit QT Py ESP32-S3 4MB Flash 2MB PSRAM with ESP32S3
(wired via SPI to WIZ850io)

Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; FeatherS3 with ESP32S3 (N16R8)
(wired via SPI to W5500-EVB-Pico2)

Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Seeed Xiao ESP32-S3 Sense with ESP32S3 (N8R8)
(XIAO W5500 Ethernet Adapter with built-in W5500)

Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; Waveshare ESP32-S3-ETH with ESP32S3 (N16R8)
(with built-in W5500)

Adafruit CircuitPython 11.0.0-alpha.1 on 2026-09-24; ESP32-C5-DevKitC-1-N8R8 with ESP32C5
(Seeed Xiao ESP32-C5 N8R8 wired via SPI to WIZ850io)

With debug=True, the following is typical:

socket_available called on socket 1, protocol 33
Bytes avail. on sock: 2048
* Processing 5 bytes of data
socket_available called on socket 1, protocol 33
Bytes avail. on sock: 2043
* Processing 2043 bytes of data

[tio 17:10:27] Disconnected
[tio 17:10:33] Connected

safemode.py reports: supervisor.SafeModeReason.HARD_FAULT.

The hard fault appears to come after this debug print:
https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/blob/f01275e34ad2e5f7ddd9d074e963a8359011a297/adafruit_wiznet5k/adafruit_wiznet5k.py#L913

I'll keep trying to produce a reasonable example, but when I've tried so far I don't get the hard faults. Could be due to some combination of data or network conditions I can't replicate. It's possible there's intermittent network disruption that affects the socket.

This issue predates CP 11, but I didn't spend time on it in the past.

Ngôn ngữ chính
C
Star
4.6k
Fork
1.4k
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
145

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của adafruit/circuitpython

Tất cả issue của adafruit/circuitpython

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.