Page 1 of 1

trying to debug waveshare esp32-c6-dev-kit-n8

Posted: Tue Nov 11, 2025 3:32 pm
by roujesky
I am using the blink example. I set my board type to ESP32C6 DEV MODULE. I compile and I can see it run. I change the delays and I can see the different blink rates. Now, I want to debug and set breakpoints. when I do that, I see the following:


Waiting for gdb server to start...[2025-11-11T15:19:59.076Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
"C:\\Users\\roujesky\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\openocd-esp32\\v0.12.0-esp32-20250707/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\roujesky\\AppData\\Local\\Temp\\.arduinoIDE-unsaved20251011-15872-1hrcj3p.qb3p\\Blink" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f board/esp32c6-builtin.cfg
Open On-Chip Debugger v0.12.0-esp32-20250707 (2025-07-06-17:44)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'gdb port', not 'gdb_port'
DEPRECATED! use 'tcl port' not 'tcl_port'
DEPRECATED! use 'telnet port', not 'telnet_port'
CDRTOSConfigure
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: libusb_get_string_descriptor_ascii() failed with -9
C:/Users/roujesky/AppData/Local/Arduino15/packages/esp32/tools/openocd-esp32/v0.12.0-esp32-20250707/bin/../share/openocd/scripts/target/esp_common.cfg:9: Error:
Traceback (most recent call last):
File "C:/Users/roujesky/AppData/Local/Arduino15/packages/esp32/tools/openocd-esp32/v0.12.0-esp32-20250707/bin/../share/openocd/scripts/target/esp_common.cfg", line 9, in script
Error: [esp32c6] Unsupported DTM version: -1
Error: [esp32c6] Could not identify target type.
[2025-11-11T15:19:59.844Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...

I dont even know where to start with this error.....

thanks for any help