nirajS
nirajS

Reputation: 1

Debug issue with ESP-IDF master version 5.3

I am using ESP-IDF with Eclipse, ESP32-C6 vboard.

After updating master version to 5.3 debugging is going to fail.

While using debug mode using ESP_IDF GDB OpenOCD Debugging I am getting some issues that are listed below.

Info : accepting 'gdb' connection on tcp/3333
Error: no watchpoint at address 0x40825740 found
Error: timed out while waiting for target halted
**Error executing event gdb-attach on target esp32c6:**
C:\Users\user-id.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\share\openocd\scripts/target/esp_common.cfg:9: Error:
at file "C:\Users\user-id.espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\share\openocd\scripts/target/esp_common.cfg", line 9
**Error: Target not halted
Error: auto_probe failed**
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
**Error: attempted 'gdb' connection rejected**
shutdown command invoked

And same thing was working in previous version 5.2.

Does anybody have any solution?

How should I make debugging work?

Upvotes: 0

Views: 415

Answers (1)

Erhan
Erhan

Reputation: 1

It can be the same issue answered here. https://github.com/espressif/openocd-esp32/issues/315#issuecomment-1956404126

Please consider opening an issue in the Espressif OpenOCD GH repo so that you will most likely receive a faster response

Upvotes: 0

Related Questions