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 -
IDF 4.4.1 Clion on Ubuntu
-
kondalkolipaka
- Espressif staff

- Posts: 269
- Joined: Wed Jul 17, 2019 5:26 pm
Re: IDF 4.4.1 Clion on Ubuntu
Hello,
ESP32-WROOM-32UE doesn’t have a built-in JTAG adapter for debugging. You need an external debugger like ESP-PROG or another compatible JTAG interface. Alternatively, you can use simple debugging tools such as GDB Stub, Core Dump and serial monitor debugging.
GDB stub debugging
https://docs.espressif.com/projects/esp ... th-gdbstub
Core Dump
https://docs.espressif.com/projects/esp ... #core-dump
You can also think about using "ESP-WROVER-KIT" which has built-in JTAG (FTDI FT2232HL)
Thanks
ESP32-WROOM-32UE doesn’t have a built-in JTAG adapter for debugging. You need an external debugger like ESP-PROG or another compatible JTAG interface. Alternatively, you can use simple debugging tools such as GDB Stub, Core Dump and serial monitor debugging.
GDB stub debugging
https://docs.espressif.com/projects/esp ... th-gdbstub
Core Dump
https://docs.espressif.com/projects/esp ... #core-dump
You can also think about using "ESP-WROVER-KIT" which has built-in JTAG (FTDI FT2232HL)
Thanks
Who is online
Users browsing this forum: Bytespider and 3 guests