Page 1 of 1

Trying for successful GDB, stuck and unsure how to correct

Posted: Fri Sep 01, 2017 11:42 pm
by justinmreina
I am having problems establishing successful GDB with my ESP32 and am reaching out for help. I have spent three full days now at this with no success. THREE days, over 10 hours at it! I would greatly appreciate any help here towards resolution, I am so close!

Available Hardware
  • ESP DevKitC
  • ESP-WROVER-KIT-V2
  • (misc others, e.g. Feather)
Available Debuggers
  • Segger J-Link EDU
  • Olimex ARM-USB-OCD (standard, not 'H' version)
Status
  • Successful CLI programming ('make flash' of hello_world)
  • Successful OpenOCD (see openocd_result.txt attached)
Current Step - Successful GDB I am trying to get GDB working to finish my development environment so we can begin work. What am I missing here, and how to achieve successful result?

Re: Trying for successful GDB, stuck and unsure how to correct

Posted: Sun Sep 03, 2017 2:29 am
by hassan789
Debugging is a bit of a pain...
Have you tried visualgdb yet? you should be up and running in 30min
https://visualgdb.com/tutorials/esp32/

Step 1:
Install visual studio community and add the following plugin:
http://sysprogs.com/files/visualgdb/Vis ... eview7.msi

Step2:
Enable the JTAG debugger on the wrover, by following the instructions here:
http://esp-idf.readthedocs.io/en/latest ... rover.html

Step3:
Follow this tutorial; use the settings I have attached:
https://visualgdb.com/tutorials/esp32/