Page 1 of 1

Issue going to debug mode - ESP-Wroom-32

Posted: Fri Dec 20, 2024 8:30 am
by v_takniki
1. Using ESP-WROOM-32 kit as in attached mail. THis kit has Silabs CP2102 on it.
Kit is connected to PC via USB cable (attached pic)

2. A) in IDE, if i go to Help-> About ESpressif IDE, I can see "Version: 3.1.0, Build id: 20241007-0706"
B) In ESP-IDF manager -> version 5.3.2
C) OS - Windows 10 Pro

3. I am using Hello WOrld example, I cam see "Hello World" on terminal,
but when i start to debug, i got error either in pic2 or pic3
code is here: https://drive.google.com/file/d/176kuQf ... sp=sharing

4. GDB server timeout I set to 20000sec

5. One doubt I have is can we debug ESp-wroom-32 kit as in pic1 attahced over USB?
Or I am making some mistake

Re: Issue going to debug mode - ESP-Wroom-32

Posted: Fri Dec 20, 2024 10:24 pm
by fmotta
I had same problem
Windows 10 pro
Firewall turned off

Re: Issue going to debug mode - ESP-Wroom-32

Posted: Tue Dec 24, 2024 5:35 am
by ccrause
You need to connect a debug probe to the jtag pins, see https://docs.espressif.com/projects/esp ... -jtag.html

Re: Issue going to debug mode - ESP-Wroom-32

Posted: Sat Dec 28, 2024 8:52 am
by v_takniki
Thanks
Can you plz help to share the ESP32 debugger which can buy online & then connect to ESP-Wroom-32(as in attached image) for debug purpose

Re: Issue going to debug mode - ESP-Wroom-32

Posted: Wed Jan 08, 2025 3:21 pm
by ccrause
Look for an ESP-Prog board. For more detail also read through Espressif's JTAG debugging guide. The ESP-Prog uses an FT2232H USB bridge chip, so you can also use a simple breakout board with an FT2232H or FT232H chip. Other JTAG adapter options that can be used with OpenOCD: https://openocd.org/doc/html/Debug-Adap ... dware.html

Re: Issue going to debug mode - ESP-Wroom-32

Posted: Wed Jan 08, 2025 10:29 pm
by Someguy22
ccrause wrote:
Tue Dec 24, 2024 5:35 am
You need to connect a debug probe to the jtag pins, see https://docs.espressif.com/projects/esp ... -jtag.html
So there is no way to debug an ESP32-WROOM* without using a separate JTAG device ? The on board USB interface allows for flashing only ?

*But the ESP32-C3 WROOM appears to be debuggable with esp_usb_jtag according to "Other" in this: https://openocd.org/doc/html/Debug-Adap ... dware.html ?