-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Halting both cores makes espflash
fail to reset the board with the USB-Serial-JTAG
#1844
Comments
It's at least not very unexpected. Users currently could use the |
I can reproduce it and the problem is halting core 0 (pro-cpu) |
Btw @ProfFan, I'm guessing this only occurs with USB SERIAL JTAG? I imagine flashing via uart works as the reset is a physical toggle of the reset pin. |
For me (on Windows, esptool 4.7) it cannot reset the board in that situation |
I spent some time looking at this, it's not that trivial to solve. I'm not quite sure I see the value of halting the cores in the real world, it seems like most users would want to reset (with the option of breaking out to a debugger if it's connected), I think I'd rather prioritise time to that instead. I'll remove this from the milestone for now. |
I don't see the value at all actually, I'll close this for now |
Not very sure if this belongs here or
espflash
. The issue is simple.espflash
can use the DTR signals to reset the board to flash mode before flashing. However inesp-backtrace
we halt both cores on panic. After this flashing will fail until reset by the RESET pin. If I only halt CPU1 and make CPU0 dowaiti 0
flashing works.Wonder if this is expected?
The text was updated successfully, but these errors were encountered: