Connection timed out when trying to debug.

Gardin
Posts: 16
Joined: Fri Dec 13, 2019 4:53 pm

Connection timed out when trying to debug.

Postby Gardin » Fri Mar 27, 2020 4:53 pm

Hello guys,

I recently bought an esp-prog board and now I'm tryng to use it, but I'm failing to do so using esp-idf.

I can debug without any problem using platformio, so I know everything works and my connections are right, but when I try to do it natively under eclipse or in the terminal I only get:

Code: Select all

:3333: Connection timed out.
I've follow this link: https://docs.espressif.com/projects/esp ... ugger.html

I'm using esp-idf version: v4.1-dev-2055-gf5b82c5b1

Does anyone have a hint?

thanks,

Gardin.

Gardin
Posts: 16
Joined: Fri Dec 13, 2019 4:53 pm

Re: Connection timed out when trying to debug.

Postby Gardin » Sun Mar 29, 2020 3:37 pm

I figured it out. :D

Before starting the GDB debugging in eclipse I have to enter these command in the project directory:

Code: Select all

openocd -f board/esp32-wrover-kit-3.3v.cfg
And then with openocd running I can start debugging as described in the espressif tutorial.

Who is online

Users browsing this forum: JimNickerson, willemmerson and 19 guests