aboutsummaryrefslogtreecommitdiff
path: root/tcl/interface
diff options
context:
space:
mode:
authorRagnar Sundblad <raggesu@gmail.com>2015-10-18 00:48:12 +0200
committerFreddie Chopin <freddie.chopin@gmail.com>2015-11-13 06:57:58 +0000
commitdd70e57b82d1ce6da45adb5958e4452a202ba666 (patch)
tree5aa22190084342a1aa677427ac49d8340c869477 /tcl/interface
parent60d570159012e33c221963a4c62a80a70b06301e (diff)
downloadriscv-openocd-dd70e57b82d1ce6da45adb5958e4452a202ba666.zip
riscv-openocd-dd70e57b82d1ce6da45adb5958e4452a202ba666.tar.gz
riscv-openocd-dd70e57b82d1ce6da45adb5958e4452a202ba666.tar.bz2
topic: Interface config file for FTDI UM232H module
Added interface config file for the FTDI FT232H based UM232H module. This should work with UM232H-B too, an even cheaper module, but that has not been tested. Change-Id: Ifc312d6741da0b7862fe07d854023190d7afe251 Signed-off-by: Ragnar Sundblad <raggesu@gmail.com> Reviewed-on: http://openocd.zylin.com/3031 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/interface')
-rw-r--r--tcl/interface/ftdi/um232h.cfg35
1 files changed, 35 insertions, 0 deletions
diff --git a/tcl/interface/ftdi/um232h.cfg b/tcl/interface/ftdi/um232h.cfg
new file mode 100644
index 0000000..6ba6f43
--- /dev/null
+++ b/tcl/interface/ftdi/um232h.cfg
@@ -0,0 +1,35 @@
+#
+# FTDI UM232H as a JTAG interface
+#
+# http://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#UM232H
+#
+# This should also work with a UM232H-B, but that has not been tested.
+# Note that UM232H and UM232H-B are 3.3V only.
+#
+
+interface ftdi
+#ftdi_device_desc "UM232H"
+ftdi_vid_pid 0x0403 0x6014
+
+ftdi_layout_init 0xfff8 0xfffb
+ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
+ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200
+
+# UM232H FT232H JTAG
+# Name Pin Name Func
+# AD0 J2-6 ADBUS0 TCK
+# AD1 J2-7 ADBUS1 TDI
+# AD2 J2-8 ADBUS2 TDO
+# AD3 J2-9 ADBUS3 TMS
+# AD4 J2-10 ADBUS4 (GPIOL0)
+# AD5 J2-11 ADBUS5 (GPIOL1)
+# AD6 J2-12 ADBUS6 (GPIOL2)
+# AD7 J2-13 ADBUS7 (GPIOL3)
+# AD0 J1-14 ACBUS0 /TRST
+# AD1 J1-13 ACBUS1 /SRST
+# AD2 J1-12 ACBUS2 (GPIOH2)
+# AD3 J1-11 ACBUS3 (GPIOH3)
+# AD4 J1-10 ACBUS4 (GPIOH4)
+# AD5 J1-9 ACBUS5 (GPIOH5)
+# AD6 J1-8 ACBUS6 (GPIOH6)
+# AD7 J1-7 ACBUS7 (GPIOH7)