# Configure Other JTAG Interfaces

[中文]

For guidance about which JTAG interface to select when using OpenOCD with ESP32, refer to the section Selecting JTAG Adapter. Then follow the configuration steps below to get it working.

## Configure Hardware

1. Identify all pins/signals on JTAG interface and ESP32 board that should be connected to establish communication.

   ESP32 JTAG pins
   ESP32 Pin | JTAG Signal
   --- | ---
   MTDO / GPIO15 | TDO
   MTDI / GPIO12 | TDI
   MTCK / GPIO13 | TCK
   MTMS / GPIO14 | TMS

2. Verify if ESP32 pins used for JTAG communication are not connected to some other hardware that may disturb JTAG operation.

3. Connect identified pin/signals of ESP32 and JTAG interface.

## Configure Drivers

You may need to install driver software to make JTAG work with computer. Refer to documentation of your JTAG adapter for related details.

On Linux, adding OpenOCD udev rules is required and is done by copying the udev rules file into the `/etc/udev/rules.d` directory.

## Connect

Connect JTAG interface to the computer. Power on ESP32 and JTAG interface boards. Check if the JTAG interface is visible on the computer.

To carry on with debugging environment setup, proceed to section Run OpenOCD.

Was this page helpful?

- Thank you! We received your feedback.
- If you have any comments, fill in Espressif Documentation Feedback Form.

- We value your feedback.
- Let us know how we can improve this page by filling in Espressif Documentation Feedback Form.