aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2020-11-01 12:10:23 +0000
committerAntonio Borneo <borneo.antonio@gmail.com>2020-11-07 20:50:57 +0000
commit990a01b70203a512b120e562dd991c29ee9201b2 (patch)
tree57dffc6c069b7ed92f88852ce464c0d3f60a3c6c
parent8e281b76ea26f5da79875ad927c4660fb7b1502b (diff)
downloadriscv-openocd-990a01b70203a512b120e562dd991c29ee9201b2.zip
riscv-openocd-990a01b70203a512b120e562dd991c29ee9201b2.tar.gz
riscv-openocd-990a01b70203a512b120e562dd991c29ee9201b2.tar.bz2
tcl/interface/ftdi: Add HIE JTAG Debugger config
Change-Id: Ibb7a2bb8807c442394982e89258874557a2baaad Signed-off-by: Jonathan McDowell <noodles@earth.li> Reviewed-on: http://openocd.zylin.com/5910 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--tcl/interface/ftdi/hie-jtag.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/tcl/interface/ftdi/hie-jtag.cfg b/tcl/interface/ftdi/hie-jtag.cfg
new file mode 100644
index 0000000..39af87d
--- /dev/null
+++ b/tcl/interface/ftdi/hie-jtag.cfg
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Hofstädtler Industrie-Electronic (HIE) JTAG Debugger
+#
+# https://www.hofstaedtler.com/jtag
+#
+
+adapter driver ftdi
+ftdi_channel 0
+ftdi_vid_pid 0x0403 0x6014
+ftdi_device_desc "HIE JTAG Debugger"
+
+ftdi_layout_init 0x0c08 0x4f1b
+
+# define both Reset signals
+ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
+ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
+
+# Toggle USB LED
+ftdi_layout_signal LED -ndata 0x4000