ESP32

Espressif esp-idf & Eclipse IDE: Debugging with JTAG and OpenOCD

Developing ESP32 code by iteratively downloading code to your target via esptool can become laborious for anything but the smallest of projects. In addition to the UART Bootloader, the ESP32 can also be programmed and debugged via the JTAG interface. Debugging allows single stepping through your code, adding breakpoints and examining the contents of registers. Besides the rich debugging, programming over JTAG can also speed up development as the JTAG interface can be as fast as 20MHz as opposed to the serial download at a typical 460,800 bps. Setup This tutorial assumes you have Eclipse and the esp-idf set-up on

Electronics Hardware

FTDI FT2232H USB to UART/MPSSE/JTAG Breakout Board

The FTDI FT2232H Hi-Speed Dual USB UART/FIFO Breakout Board provides a variety of standard serial and parallel interfaces: Asynchronous UART JTAG I2C SPI Parallel FIFO The board includes two linear regulators offering either 3.3V or 2.5V IO. An on-board Serial EEPROM stores custom USB descriptors, VID/PIDs and configurations. Design Files Design files can be downloaded from the Circuit Maker website. Circuit Maker is a free EDA tool from Altium. FT2232H Breakout version 1.A.1 Gerbers (Zip) FT2232H Breakout version 1.A.1 Schematics (PDF) The PCB for this design was fabricated by oshpark.com