Closed felix1689 closed 2 years ago
I'm using the same devkit. Issue appears when esp_wifi_start()
is called with commit 74658eb or more recent, as felixandra mentioned. USB connection (both JTAG and USB serial) is dropped and the host dmesg starts to get filled with the following messages repeatedly:
Oct 29 14:26:12 pukk kernel: [164003.104115] xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr
Oct 29 14:26:12 pukk kernel: [164003.104123] xhci_hcd 0000:00:14.0: A Set TR Deq Ptr command is pending.
Oct 29 14:26:12 pukk kernel: [164003.219963] xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr
Oct 29 14:26:12 pukk kernel: [164003.219975] xhci_hcd 0000:00:14.0: A Set TR Deq Ptr command is pending.
Commit 0ae4bb8
works correctly.
@nonoo the fix for PHY lib has been merged in https://github.com/espressif/esp-phy-lib/commit/39a1f4b19b9794d7dd9aef741e04244db2da485e, but it requires a change in esp-idf as well. We'll update the related esp-idf issue when the fix is merged.
Hardware
ESP32-S3-DevKitC-1 v1.0
Problem
After checking out commit 74658eb and flashing, the USB on the dev kit stops working. The issue still stands at commit 39a1f4b.
Logs
OpenOCD
(Trying to debug,
openocd -f board/esp32s3-builtin.cfg
)esptool
(Trying to flash)