Is it possible to program the ESP32-WROOM-32E using the UART0 port (Pins 34 and 35) and use the UART2 port (Pins 27 and 28) for debugging and retrieving logs?
or is JTAG necessary for debugging?
Programming and Debug in ESP32-WROOM-32E
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: Programming and Debug in ESP32-WROOM-32E
Yes, you can. I think the selection of logging UART is somewhere in Menuconfig. Be aware that you can't redirect everything over UART2; for instance, the bootrom signon messages still will appear on UART0.
Also, JTAG is necessarily for certain types of debugging (specifically: using gdb with a 'live' system). If you can get away with using printf-style debugging and the 'forensic' GDBStub that you can select to show up after the system crashes, you don't need JTAG.
Also, JTAG is necessarily for certain types of debugging (specifically: using gdb with a 'live' system). If you can get away with using printf-style debugging and the 'forensic' GDBStub that you can select to show up after the system crashes, you don't need JTAG.
Who is online
Users browsing this forum: No registered users and 150 guests