ESP32 DevKitC Debugging

Adham Aboud
Posts: 48
Joined: Mon Apr 30, 2018 5:32 pm

ESP32 DevKitC Debugging

Postby Adham Aboud » Sun May 06, 2018 6:27 am

Hello All,

How do I debug DevKitC board using Eclipse ??

Regards,
Adham

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: ESP32 DevKitC Debugging

Postby kolban » Mon May 07, 2018 3:39 am

Howdy,
For the DevKitC, if you want source level debugging, you will need an additional JTAG adapter. Have a read at all the articles found at this web page on JTAG debugging and see if this helps.

http://esp-idf.readthedocs.io/en/latest ... index.html
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

k.ifantidis
Posts: 33
Joined: Wed Mar 28, 2018 6:58 am

Re: ESP32 DevKitC Debugging

Postby k.ifantidis » Sat May 19, 2018 7:20 am

Hello mr.Kolban.
I'm using ESP-WROVER-KIT and a PC with all the tools needed for programming with esp-idf SDK. The PC is running windows 10 with Eclipse Oxygen.3A. I'm not having problems in programming the board but I can't use the debugger. After reading the http://esp-idf.readthedocs.io/en/latest/# I realized that i miss GDB Hardware Debugging plugin from Eclipse and I can't download it from marketplace or anywhere else.

Would you be kind enough to inform me about which Eclipse version I have to use in order to use the Debugging tools via the gui ??
Even in linux(ubuntu18) I can't find the GDB Hardware debugging plugin. Some more details than the readthedocs website would be great.

Best regards, Kostas.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: ESP32 DevKitC Debugging

Postby kolban » Sat May 19, 2018 1:17 pm

I checked my Eclipse Oxygen and the C/C++ GDB Hardware Debugging module is part of the Eclipse C Development Tools (CDT). See the following:

https://www.eclipse.org/cdt/

Make sure that you have the C development tools package installed in your Eclipse.

This is installable from Help > Install New Software ...

I would be surprised if you were working in C/C++ development on Eclipse and didn't already have this installed.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

k.ifantidis
Posts: 33
Joined: Wed Mar 28, 2018 6:58 am

Re: ESP32 DevKitC Debugging

Postby k.ifantidis » Sat May 19, 2018 2:26 pm

I'm feeling like a huge newb right now :roll: :roll: :roll: . I added wrong url in Eclipse search and that's the reason why I couldn't install the module. I've installed the GDB Hardware Debugging module successfully and I'm going to test out my code and examples given in esp-idf.readthedocs.
Thank you very much for your reply. It helped me figure out some "fundamental" stuff about Eclipse IDE.

Have a nice evening, Kostas.

Who is online

Users browsing this forum: Google [Bot], zelenecul and 137 guests