How to debug Tasmota on ESP32 device? #23460
-
I’m working with an ESP32-S3-DevKitC-1N8R8 and a JTAG/serial adapter, using Visual Studio Code with the PlatformIO extension (link). Build, Upload, and Monitor all work fine. However, I’m unable to debug Tasmota on this setup. As a reference, I was able to successfully debug a basic Hello World app on the same device using esptool, so the hardware and debug connection seem to be functional. I’ve gone through the Tasmota documentation, but couldn’t find anything related to JTAG or debugging support. Am I missing something? Has anyone successfully debugged Tasmota via JTAG or with PlatformIO? Any hints or suggestions would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Jason added support for JTAG debugging a long time ago. But as far as I know, none of the core developers use JTAG. Alas I'm debugging the old way: logs |
Beta Was this translation helpful? Give feedback.
-
On Tasmota init we do a lot of trickery to get serial console functional:
This may well interfere with plain JTAG use on some S3... BTW me also never used JTAG on ESP32. Did it once on msp432 and I liked it very much. Never missed it though on ESP8266/ESP32 |
Beta Was this translation helpful? Give feedback.
Jason added support for JTAG debugging a long time ago. But as far as I know, none of the core developers use JTAG.
Alas I'm debugging the old way: logs