From: openocd-gerrit <ope...@us...> - 2024-09-15 09:06:55
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 6f9b1ee521203f0d43b7d84e671ba4e32bd3e599 (commit) from 0efedd7bd7e1531a47028d9b32e9406502a59ca7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6f9b1ee521203f0d43b7d84e671ba4e32bd3e599 Author: Jun Yan <jer...@gm...> Date: Sat Aug 31 19:28:46 2024 +0800 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 <jer...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/8472 Reviewed-by: Antonio Borneo <bor...@gm...> Tested-by: jenkins diff --git a/tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg b/tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg new file mode 100644 index 000000000..8a804eca6 --- /dev/null +++ b/tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg @@ -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 ----------------------------------------------------------------------- Summary of changes: tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tcl/interface/ftdi/sipeed-usb-jtag-debugger.cfg hooks/post-receive -- Main OpenOCD repository |