VisualGDB with ESP32

aaquilina
Posts: 43
Joined: Fri Jan 20, 2017 3:10 pm

VisualGDB with ESP32

Postby aaquilina » Fri Jan 20, 2017 3:13 pm

Has anyone managed to get VisualGDB debugger working? I keep getting "Custom FLASH programming step failed". Any thoughts? :(

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: VisualGDB with ESP32

Postby f.h-f.s. » Wed Jan 25, 2017 8:23 am

I got it working, great tool!
I do have some debugging issues though.

Your problem sounds like your esp32 isn't connected or in some locked state in which the debugger cant reset it.
If you reset the esp32 into the bootloader mode the device will be in a state that can be reset by your debugger.

Also you can
1. check your normal uart output
2. check if you correctly hooked up your debugger
3. check your openocd and gdb output (tabs in visual studio)
4. check your visualGDB debug settings

VisualGDB also has a helpful guide which helped me a lot.
http://visualgdb.com/tutorials/esp32/

aaquilina
Posts: 43
Joined: Fri Jan 20, 2017 3:10 pm

Re: VisualGDB with ESP32

Postby aaquilina » Thu Feb 02, 2017 2:00 pm

Thanks! It was a matter of resetting it into bootloader mode

Who is online

Users browsing this forum: No registered users and 164 guests