Open Yecgaa1 opened 1 year ago
After starting debugging, I can stop at the first breakpoint, but when I step in it jumps to unhandled double exception and keeps looping, then the monitor shows the following and does not move (even if I close debug)
Could you please share the sample program for us to reproduce this behavior?
E (336) esp_image: Checksum failed. Calculated 0xef read 0x1a E (336) boot: Factory app partition is not bootable E (337) boot: No bootable app partitions in the partition table
This issue has happened because the application binary in flash was modified by inserting the software breakpoint. When the debug session terminates normally, OpenOCD removes all software breakpoints, reverting the program binary to its original state. I suppose the debug session was not terminated normally in this case. If you flash the application again, it should start working.
This issue has happened because the application binary in flash was modified by inserting the software breakpoint. When the debug session terminates normally, OpenOCD removes all software breakpoints, reverting the program binary to its original state. I suppose the debug session was not terminated normally in this case. If you flash the application again, it should start working.
Oh, I've learned now
Could you please share the sample program for us to reproduce this behavior?
Yes, but since I really don't know what the problem is, please allow me to link the repository directly to you, I'm sorry if this causes you more work
Answers checklist.
General issue report
I use ESP-WROVER-KIT-VE to write programs on esp-idf of v4.4.3-316-ge86181704a Before starting debugging the program can burn normally (using serial port) and print normal run log. After starting debugging, I can stop at the first breakpoint, but when I step in it jumps to unhandled double exception and keeps looping, then the monitor shows the following and does not move (even if I close debug)
When I restarted the monitor, I found that it could no longer run the program normally and kept outputting the following message
I can burn and debug normally in a minimal project Hello-World Based on the above monitor I suspect that it has something to do with my partition table, but I don't know how to fix this problem. This is my vscode launch.json, this seems to be the default
I would be grateful if you could help me!