[ESP32H2] PAD_to_JTAG vs. USB_to_JTAG: Advantages and Disadvantages?
Posted: Sun Mar 31, 2024 10:02 am
The ESP32H2 offers the options PAD_to_JTAG and USB_to_JTAG (see ESP32H2 - Technical Reference Manual: 1.10.4 JTAG Control) to implement JTAG functionality. The JTAG signal source for the PAD_to_JTAG option are the JTAG pins MTDI, MTCK, MTMS, and MTDO. The JTAG signal source for the USB_to_JTAG option is the USB Serial/JTAG Controller (see ESP32H2 - Technical Reference Manual: 8.2.4 JTAG Signal Source Control).
I am designing a USB-C powered embedded system that uses the ESP32-H2-MINI-1 module. I am looking to utilize the JTAG interface for debugging and flashing during development and for flashing the firmware during production. Currently, I have designed the system for PAD_to_JTAG using a TC2050-IDC to connect to the JTAG pins. However, I am not sure if the USB_to_JTAG would be the better choice, considering a USB-C connector is already present on the board for power delivery.
What are the advantages and disadvantages of the different JTAG options?
I am designing a USB-C powered embedded system that uses the ESP32-H2-MINI-1 module. I am looking to utilize the JTAG interface for debugging and flashing during development and for flashing the firmware during production. Currently, I have designed the system for PAD_to_JTAG using a TC2050-IDC to connect to the JTAG pins. However, I am not sure if the USB_to_JTAG would be the better choice, considering a USB-C connector is already present on the board for power delivery.
What are the advantages and disadvantages of the different JTAG options?