X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=tcl%2Finterface%2Fftdi%2Fesp32_devkitj_v1.cfg;fp=tcl%2Finterface%2Fftdi%2Fesp32_devkitj_v1.cfg;h=c34a500a6a87235c269bc31c3fa83926361f6b08;hp=0000000000000000000000000000000000000000;hb=77287b8d47b4be8ee5612037fe1eba6f0e08147f;hpb=52fbb85d2e0911fa1500708a5841d3474c1c0289 diff --git a/tcl/interface/ftdi/esp32_devkitj_v1.cfg b/tcl/interface/ftdi/esp32_devkitj_v1.cfg new file mode 100644 index 0000000000..c34a500a6a --- /dev/null +++ b/tcl/interface/ftdi/esp32_devkitj_v1.cfg @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Driver for the FT2232H JTAG chip on the Espressif DevkitJ board +# (and most other FT2232H and FT232H based boards) +# + +adapter driver ftdi +ftdi vid_pid 0x0403 0x6010 0x0403 0x6014 + +# interface 1 is the uart +ftdi channel 0 + +# TCK, TDI, TDO, TMS: ADBUS0-3 +# LEDs: ACBUS4-7 + +ftdi layout_init 0x0008 0xf00b +ftdi layout_signal LED -data 0x1000 +ftdi layout_signal LED2 -data 0x2000 +ftdi layout_signal LED3 -data 0x4000 +ftdi layout_signal LED4 -data 0x8000 + +# ESP32 series chips do not have a TRST input, and the SRST line is connected to the EN pin. +# The target code doesn't handle SRST reset properly yet, so this is commented out: +# ftdi_layout_signal nSRST -oe 0x0020 +# reset_config srst_only