tcl/interface/ftdi: add support for Sipeed USB-JTAG/TTL Debugger

Sipeed USB-JTAG/TTL Debugger is a compact FT2232D-based JTAG adapter.

Change-Id: Ibc9075723f47cd9b49ba4bb39e3d292e7d80bed7
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8472
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Jun Yan 2024-08-31 19:28:46 +08:00 committed by Antonio Borneo
parent 0efedd7bd7
commit 6f9b1ee521
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Sipeed USB-JTAG/TTL RISC-V Debugger
#
# https://www.seeedstudio.com/Sipeed-USB-JTAG-TTL-RISC-V-Debugger-p-2910.html
#
adapter driver ftdi
ftdi device_desc "Dual RS232"
ftdi vid_pid 0x0403 0x6010
ftdi channel 0
# Every pin set as high impedance except TCK, TDI, TDO, TMS and RST
ftdi layout_init 0x0028 0x002b
transport select jtag
# nSRST defined on pin RST of the Debugger (pin ADBUS5 [AD5] on the FT2232D chip)
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020