Hello Experts,
I am using ESP32-C6 Wifi module and the tool is ESP IDF with vscode. The Hardware design is completed so i have no chance using a JTAG debugger and the only possibility is using the UART interface.
Please help me how to debug ESP32-C6 module by using the UART interface.
Thanks & regards,
D. Vineetha.
Debugging with UART
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Debugging with UART
Well, you could use printfs and log statements, but if you're expecting to attach an external debugger with ease: no chance.
Is the internal USB-serial-JTAG connected or the GPIOs for that (12 and 13) available? If so, you could still use the USB-serial-JTAG device.
Is the internal USB-serial-JTAG connected or the GPIOs for that (12 and 13) available? If so, you could still use the USB-serial-JTAG device.
Re: Debugging with UART
There is also a runtime GDB server which allows debugging over UART; it is more limited than JTAG interface, though. An example of his feature is available here: https://github.com/espressif/esp-idf/tr ... em/gdbstub
Re: Debugging with UART
Thank you so much for all your quick replies.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 114 guests