Skip to content

Commit

Permalink
tcl/interface/ftdi: add support for Sipeed USB-JTAG/TTL Debugger
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yjun123 authored and borneoa committed Sep 15, 2024
1 parent 0efedd7 commit 6f9b1ee
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6f9b1ee

Please sign in to comment.