Page 1 of 1

VisualGDB with ESP32

Posted: Fri Jan 20, 2017 3:13 pm
by aaquilina
Has anyone managed to get VisualGDB debugger working? I keep getting "Custom FLASH programming step failed". Any thoughts? :(

Re: VisualGDB with ESP32

Posted: Wed Jan 25, 2017 8:23 am
by f.h-f.s.
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/

Re: VisualGDB with ESP32

Posted: Thu Feb 02, 2017 2:00 pm
by aaquilina
Thanks! It was a matter of resetting it into bootloader mode