Most of my recent experience is with Nordic chips which are easy to debug using the DK.
I've been writing code using ESP-IDF and I'd like to setup a debugger. I've been to this link already: https://docs.espressif.com/projects/esp ... w-it-works
My first question is do I have a viable debug setup to debug with OpenOCD:
1) Windows
2) USB DEV KIT C and ESP-IDF v4.1
3) ESP-PROG
Ideally, I'd like to debug via Eclipse but I'd be delighted if there were clear instructions for this particular setup.
for example:
------
To debug DEVKIT C with ESP-PROG
1) Wire them together like this
2) Use these exact config files
3) Run this command to know its working
ESP32 DEV KIT C debug setup
-
- Posts: 9
- Joined: Fri Mar 20, 2020 1:18 pm
Re: ESP32 DEV KIT C debug setup
Hi,
I have been struggling with debugging until I found "VisualGDB embedded". This is a plugin for Visual Studio which really works out of the box! Also "menuconfig" is now done from within Visual Studio just by editing the project properties. It is really worth its low price!
I have been struggling with debugging until I found "VisualGDB embedded". This is a plugin for Visual Studio which really works out of the box! Also "menuconfig" is now done from within Visual Studio just by editing the project properties. It is really worth its low price!
-
- Posts: 8
- Joined: Wed Sep 02, 2020 12:25 am
Re: ESP32 DEV KIT C debug setup
Interesting. Is it possible to debug a devkitc board directly from USB via the Visual Studio plugin?
I am blown away that there isn't a simple set of instructions on how to debug a DEVKITC board. Nordic couldn't be any easier.
I am blown away that there isn't a simple set of instructions on how to debug a DEVKITC board. Nordic couldn't be any easier.
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 DEV KIT C debug setup
DevkitC does not have an on-board JTAG debugger. If you have an external debugger (e.g. an ESP-Prog board), you should be able to wire TMS, TCK, TDI and TDO from there to the DevkitC using 'Dupont' wires or something similar. From then on, you can follow the guide for any other JTAG-enabled devboard.
Who is online
Users browsing this forum: brsmdnlr and 110 guests