Trying for successful GDB, stuck and unsure how to correct

justinmreina
Posts: 26
Joined: Tue Jul 18, 2017 10:39 pm

Trying for successful GDB, stuck and unsure how to correct

Postby justinmreina » Fri Sep 01, 2017 11:42 pm

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?

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

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

Postby hassan789 » Sun Sep 03, 2017 2:29 am

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/
Attachments
wrover.JPG
wrover.JPG (83.77 KiB) Viewed 4789 times

Who is online

Users browsing this forum: No registered users and 46 guests