I am new to ESP platform and this might be the wrong question but I am at a loss how to approach this.
I am trying to debug some code on ESP32-C6 (using the DevKit). It involves light sleep mode. Unfortunately, any attempt to debug with the built-in USB JTAG fails because it is disabled in this state. So I am trying to get an external JTAG probe worikng. I have purchased ESP-PROG kit for the purpose. However, openocd can't recognize the flash size ("Failed to get flash maps" etc; bank 0 is at size zero). I can't find a solution online - looks like everyone uses the built-in USB JTAG debugger.
How should I approach debugging light-sleep related problems? Is there a way to get openocd to recognize the flash size? Or there is another approach in this case at all?
Debuggung ESP32-C6 with external JTAG probe
-
- Posts: 2
- Joined: Thu Feb 13, 2025 12:10 pm
-
- Posts: 56
- Joined: Sat Jan 18, 2025 2:31 pm
Re: Debuggung ESP32-C6 with external JTAG probe
If you are using an outdated version of OpenOCD, that can create this problem.
-
- Posts: 2
- Joined: Thu Feb 13, 2025 12:10 pm
Re: Debuggung ESP32-C6 with external JTAG probe
OpenOCD 0.12, shipped with the ESP tools. Good call, considering I have another (older) version installed, but I verified that I used the correct one.
Who is online
Users browsing this forum: Bing [Bot], floitsch_toit, Google [Bot] and 182 guests