interface/ftdi: add TUMPA Lite config
authorPaul Fertser <fercerpav@gmail.com>
Sun, 2 Feb 2014 09:04:41 +0000 (13:04 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Feb 2014 20:52:26 +0000 (20:52 +0000)
TUMPA Lite is a cheap FT232H-based breakout board, without any
buffering. It also lacks series resistors so for some targets
(especially when not using ridiculously short wires) one needs to add
about 47 Ohms in series on every high-speed line.

The SRST line is connected directly to the FT232H too.

Real-life tested (including SRST and TRST).

Change-Id: I5ed4f88d8d20384e9c52efe2ff0c290e2650d43e
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1918
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
contrib/openocd.udev
tcl/interface/ftdi/tumpa-lite.cfg [new file with mode: 0644]

index 66ec9ba1758d412170b3fc2ceee039204d664d55..b2e1123aa1405a0dbeaa2c13b4481bee9d0b19a4 100644 (file)
@@ -80,6 +80,10 @@ ATTRS{idVendor}=="1457", ATTRS{idProduct}=="5118", MODE="664", GROUP="plugdev"
 # XDS100v2
 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", MODE="664", GROUP="plugdev"
 
+# TUMPA, TUMPA Lite
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a98", MODE="664", GROUP="plugdev"
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a99", MODE="664", GROUP="plugdev"
+
 # stlink v1
 ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE="664", GROUP="plugdev"
 
diff --git a/tcl/interface/ftdi/tumpa-lite.cfg b/tcl/interface/ftdi/tumpa-lite.cfg
new file mode 100644 (file)
index 0000000..657515a
--- /dev/null
@@ -0,0 +1,12 @@
+#
+# TIAO USB Multi-Protocol Adapter (TUMPA) Lite
+#
+# http://www.diygadget.com/tiao-usb-multi-protocol-adapter-lite-jtag-spi-i2c-serial.html
+#
+
+interface ftdi
+ftdi_vid_pid 0x0403 0x8a99
+
+ftdi_layout_init 0x0038 0x087b
+ftdi_layout_signal nTRST -data 0x0020 -oe 0x0020
+ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010