Configure Other JTAG Interface¶
Refer to section Selecting JTAG Adapter for guidance what JTAG interface to select, so it is able to operate with OpenOCD and ESP32-C3. Then follow three configuration steps below to get it working.
Configure Hardware¶
Identify all pins / signals on JTAG interface and ESP32-C3 board, that should be connected to establish communication.
¶ ESP32-S2 Pin
JTAG Signal
MTDO / GPIO40
TDO
MTDI / GPIO41
TDI
MTCK / GPIO39
TCK
MTMS / GPIO42
TMS
Verify if ESP32-C3 pins used for JTAG communication are not connected to some other h/w that may disturb JTAG operation.
Connect identified pin / signals of ESP32-C3 and JTAG interface.
Configure Drivers¶
You may need to install driver s/w to make JTAG work with computer. Refer to documentation of JTAG adapter, that should provide related details.
Connect¶
Connect JTAG interface to the computer. Power on ESP32-C3 and JTAG interface boards. Check if JTAG interface is visible by computer.
To carry on with debugging environment setup, proceed to section Run OpenOCD.