My thanks for an extremely helpful users forum, and the completeness of Espressif's fine application tutorials.
However, the tutorial for the ESP-PROG programming/debug tool is ambiguous about one thing: if my target design monopolizes the ESP32's TXD0 and RXD0 pins, can I program the device using the processor's JTAG pins?
In other words, can I use the MTDI, MTDO, MTMS, and MTCLK pins to squirt code into an ESP32 processor? Or are these pins reserved for just debug tasks?
Thanks from Indianapolis US.
Jim Olson
Programming via ESP-PROG Tool
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Programming via ESP-PROG Tool
Yes, you can. Note that if you're using any of the newer ESP32 chips (C3, C6, S3) you can also use the USB-serial-JTAG peripheral to do all that.
Re: Programming via ESP-PROG Tool
So if downloading of firmware to an ESP32 can be accomplished through the JTAG pins, why does the ESP-PROG programmer/debugger have a standalone programming umbilical cord devoted to programming through the TxD0 and RxD0 pins?
Are you saying that another, non-ESP-PROG, non-Espressif tool plus driver program can use the JTAG pins for programming?
Maybe programming through the TxD0 and RxD0 pins is intended for legacy ESP32 family members?
Are you saying that another, non-ESP-PROG, non-Espressif tool plus driver program can use the JTAG pins for programming?
Maybe programming through the TxD0 and RxD0 pins is intended for legacy ESP32 family members?
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Programming via ESP-PROG Tool
Because some people (most people?) prefer simple logging to help them in their programming rather than the full setup of a JTAG debugger. You only need the serial pins for that.
More-or-less any JTAG adapter supported by OpenOCD can be used to debug/flash the ESP32.Are you saying that another, non-ESP-PROG, non-Espressif tool plus driver program can use the JTAG pins for programming?
Who is online
Users browsing this forum: No registered users and 97 guests