Re: [Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader
Posted: Fri Jul 28, 2023 1:21 pm
I have the same problem here with ESP32-C3 V0.4 boards (But with a V0.3 version debugging works fine: flashing without boot mode). The problematic board is not able to flash without boot mode (), but OpenOCD connects using the switch. Suspend, Resume, Single Step Into work. Also the call stacks and variable contents are displayed correctly.
But breakpoints do not work: The ones set during startup are ignored, and adding one while haltet results in the (repeatet) terminal output:
Step over results in the same panic. Changes of variables are simply ignored.
Has anyone a clue how I can solve this problem?
Code: Select all
** Flashing Failed **
-1Code: Select all
-c "gdb_memory_map disable"But breakpoints do not work: The ones set during startup are ignored, and adding one while haltet results in the (repeatet) terminal output:
Code: Select all
Guru Meditation Error: Core 0 panic'ed (Cache error).
ibus tried to write cache
Setting breakpoint at 0x42009fae and returning...
Has anyone a clue how I can solve this problem?