You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I update my project to latest git (to get embassy-executor match up) and my project now breaks debugging and flashing via probe-rs if I have enabled UsbSerialJtag.
This is what I get in probe-rs on first try (it flashes but after the program is running this happens:
WARN probe_rs::session: Could not clear all hardware breakpoints: Probe(Usb(Custom { kind: Other, error: Stall }))
WARN probe_rs::session: Failed to deconfigure device during shutdown: Probe(Usb(Custom { kind: Other, error: Stall }))
Error: An error with the usage of the probe occurred
Caused by:
0: USB Communication Error
1: endpoint STALL condition
This makes also the UsbSerial to stop outputting anything.
If I retry running probe-rs this is the output I get:
Error: Failed to open the debug probe.
Caused by:
0: The debug probe could not be created.
1: A USB error occurred.
2: endpoint STALL condition
This worked fine before I updated esp-hal. And my project still works fine if I disable UsbSerialJtag.
To add that UsbSerial does work fine if I connect an already flashed project and do not run probe-rs, I get some hello world output.
Any idea what could cause that?
The text was updated successfully, but these errors were encountered:
We've occasionally seen the USB stall in our HIL workflow, it's possible this isn't related to USJ at all, and could be a bug somewhere else in the stack. What probe-rs version are you running by the way?
@MabezDev Currently I am on 0.24.0, I updated to latest git after hitting this problem but that didn't help. @bugadani yes, it worked fine before I updated esp-hal. Now it works fine only if you don't initialize UsbSerialJtag in my program.
Hi! I update my project to latest git (to get embassy-executor match up) and my project now breaks debugging and flashing via probe-rs if I have enabled UsbSerialJtag.
This is what I get in probe-rs on first try (it flashes but after the program is running this happens:
This makes also the UsbSerial to stop outputting anything.
If I retry running probe-rs this is the output I get:
This worked fine before I updated esp-hal. And my project still works fine if I disable UsbSerialJtag.
To add that UsbSerial does work fine if I connect an already flashed project and do not run probe-rs, I get some hello world output.
Any idea what could cause that?
The text was updated successfully, but these errors were encountered: