|
Post by gb0101010101 on Apr 8, 2019 8:59:26 GMT -8
Found this interesting video that shows hardware level debugging of ESP8266 using Eclipse and 'Sloeber' addon. Is SDL using anything like this for development? The actual debugging starts around the 12 minute mark.
If so I would love some info on setup. I got through most of it until the debug setup and selecting the xtensa GDB debugger file. The video shows using a EXE file which I cannot use as I am on Linux.
|
|
|
Post by SDL on Apr 8, 2019 11:15:53 GMT -8
Is this a JTAG debugger or some kind of a software solution?
I'm just looking at debuggers for JTAG and the ESP32. Time to move to source code debugging around here.
BP
|
|
|
Post by gb0101010101 on Apr 8, 2019 16:14:52 GMT -8
The video example is purely software. I know there are OpenOCD JTAG debuggers supported in Eclispe and Sloeber but for other chips like ESP32. evertdekker.com/?p=1191
|
|
|
Post by gb0101010101 on Apr 18, 2019 14:56:32 GMT -8
FYI, I will be testing the proposed software based ESP8266 debugging shortly. Had many issues with existing code to make it compile with the Eclipse "Sloeber" plugin. The Eclipse IDE is much more strict than "Arduino IDE" and identified many problems that did not cause errors in Arduino IDE. Also don't have any ESP8266 boards for basic debugging and the "OurWeather" setup is remote so cannot use that.
Ordered some basic ESP8266 NodeMCU boards; which I think are similar enough to debug code. Please let me know if you see problems with my test setup. If these boards are not adequate please let me know what boards I can test with?
|
|
|
Post by SDL on Apr 20, 2019 7:28:27 GMT -8
Those should work just fine. We are just getting JTAG debugging set up with an ESP32. We haven't been using it with ESP8266s.
I'll report back when successful. We are pretty close.
BP
|
|