target: add Espressif ESP32 basic support
[fw/openocd] / tcl / interface / ftdi / esp32_devkitj_v1.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 #
3 # Driver for the FT2232H JTAG chip on the Espressif DevkitJ board
4 # (and most other FT2232H and FT232H based boards)
5 #
6
7 adapter driver ftdi
8 ftdi vid_pid 0x0403 0x6010 0x0403 0x6014
9
10 # interface 1 is the uart
11 ftdi channel 0
12
13 # TCK, TDI, TDO, TMS: ADBUS0-3
14 # LEDs: ACBUS4-7
15
16 ftdi layout_init 0x0008 0xf00b
17 ftdi layout_signal LED -data 0x1000
18 ftdi layout_signal LED2 -data 0x2000
19 ftdi layout_signal LED3 -data 0x4000
20 ftdi layout_signal LED4 -data 0x8000
21
22 # ESP32 series chips do not have a TRST input, and the SRST line is connected to the EN pin.
23 # The target code doesn't handle SRST reset properly yet, so this is commented out:
24 # ftdi_layout_signal nSRST -oe 0x0020
25 # reset_config srst_only