Page 1 of 1

Espressif IDE: GDB doesn't connect to OpenOCD

Posted: Tue Feb 27, 2024 5:26 pm
by Nikitarc
Hello,

I just installed Espressif Eclipse IDE with 'Windows offline installer' following this how to:
https://github.com/espressif/idf-eclips ... stallation

Windows 10
Espressif IDE V2.12.0,
ESP-IDE v5.1.2

I use an ESP32-C3
I can compile and flash the blink application. That's OK!.

But when I try to debug, the GDB displays an error during 'Starting OpenOCD':

Code: Select all

Error in services launch sequence
Starting OpenOCD timed out.
My debugging configuration:
dbg_conf.png
dbg_conf.png (33.66 KiB) Viewed 3049 times
I checked the openocd.exe path it is OK.

What can I do to check where the problem is coming from?

Than you.

Re: Espressif IDE: GDB doesn't connect to OpenOCD

Posted: Wed Mar 13, 2024 5:02 am
by ESP_kondalkolipaka
Hello,

As mentioned here, please increase the OpenOCD server timeout value in the preferences and see if that helps?

You can use the troubleshooting guide if you have any futher issues.

Thanks