Espressif IDE: GDB doesn't connect to OpenOCD

Nikitarc
Posts: 2
Joined: Mon Feb 26, 2024 6:00 pm

Espressif IDE: GDB doesn't connect to OpenOCD

Postby Nikitarc » Tue Feb 27, 2024 5:26 pm

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 3697 times
I checked the openocd.exe path it is OK.

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

Than you.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

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

Postby ESP_kondalkolipaka » Wed Mar 13, 2024 5:02 am

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

Who is online

Users browsing this forum: No registered users and 19 guests