IDF 4.4.1 Clion on Ubuntu
Posted: Mon Mar 24, 2025 7:32 pm
Hi, I am using ESP32-WROOM-32UE and trying to debug ESP code on CLion 2023.3.6 on ubuntu-22.04.5-desktop-amd64 (VM), I am now able to BUILD and FLASH the code but unable to debug. I am using boards/esp-wroom-32.cfg as board config file but I get the following error -
[code]Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:42)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
Error: Debug adapter doesn't support any transports?
/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp32.cfg:2: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file "/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/board/esp-wroom-32.cfg", line 3
at file "/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp32.cfg", line 2
GDB Server stopped, exit code 1[/code]
I do not see xxx_buildin.cfg for WROOM, so i wanted to know if there is a way to directly debug the code or I need an external debugger like ESP-WROVER-KIT.
Any hint on how to proceed ? here is the debug configuration that throws the above error -
[code]Open On-Chip Debugger v0.11.0-esp32-20211220 (2021-12-20-15:42)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
Error: Debug adapter doesn't support any transports?
/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp32.cfg:2: Error:
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file "/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/board/esp-wroom-32.cfg", line 3
at file "/home/sen/.espressif/tools/openocd-esp32/v0.11.0-esp32-20211220/openocd-esp32/share/openocd/scripts/target/esp32.cfg", line 2
GDB Server stopped, exit code 1[/code]
I do not see xxx_buildin.cfg for WROOM, so i wanted to know if there is a way to directly debug the code or I need an external debugger like ESP-WROVER-KIT.
Any hint on how to proceed ? here is the debug configuration that throws the above error -