[Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader

klushund
Posts: 1
Joined: Fri Jul 28, 2023 1:01 pm

Re: [Solved?] Cannot connect to ESP32-C3 USB/JTAG outside of bootloader

Postby klushund » 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 (

Code: Select all

** Flashing Failed **
-1
), but OpenOCD connects using the

Code: Select all

-c "gdb_memory_map disable"
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:

Code: Select all

Guru Meditation Error: Core  0 panic'ed (Cache error).
ibus tried to write cache

Setting breakpoint at 0x42009fae and returning...
Step over results in the same panic. Changes of variables are simply ignored.

Has anyone a clue how I can solve this problem?

Who is online

Users browsing this forum: Google [Bot] and 60 guests