From dd70e57b82d1ce6da45adb5958e4452a202ba666 Mon Sep 17 00:00:00 2001 From: Ragnar Sundblad Date: Sun, 18 Oct 2015 00:48:12 +0200 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/3031 Tested-by: jenkins Reviewed-by: Freddie Chopin --- tcl/interface/ftdi/um232h.cfg | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tcl/interface/ftdi/um232h.cfg diff --git a/tcl/interface/ftdi/um232h.cfg b/tcl/interface/ftdi/um232h.cfg new file mode 100644 index 000000000..6ba6f43b2 --- /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)