Configure Other JTAG Interface

[中文]

For guidance about which JTAG interface to select to enable operation with OpenOCD and ESP32-S2, refer to section Selecting JTAG Adapter. Then follow the three configuration steps below to get it working.

Configure Hardware

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

    ESP32-S2 pins and JTAG signals

    ESP32-S2 Pin

    JTAG Signal

    MTDO / GPIO40

    TDO

    MTDI / GPIO41

    TDI

    MTCK / GPIO39

    TCK

    MTMS / GPIO42

    TMS

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

  3. Connect identified pin/signals of ESP32-S2 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.

Connect

Connect JTAG interface to the computer. Power on ESP32-S2 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.