aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-02-02 13:04:41 +0400
committerSpencer Oliver <spen@spen-soft.co.uk>2014-02-04 20:52:26 +0000
commit698eaf9896b9b490676b13cf532c0161f7fb67c8 (patch)
tree026ff867c5ff2465ac0b1e69a60d08ee5f63f276
parent3feac9a740917621de5af6f6ef008ec445b9d35a (diff)
interface/ftdi: add TUMPA Lite config
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>
-rw-r--r--contrib/openocd.udev4
-rw-r--r--tcl/interface/ftdi/tumpa-lite.cfg12
2 files changed, 16 insertions, 0 deletions
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index 66ec9ba1..b2e1123a 100644
--- a/contrib/openocd.udev
+++ b/contrib/openocd.udev
@@ -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
index 00000000..657515a9
--- /dev/null
+++ b/tcl/interface/ftdi/tumpa-lite.cfg
@@ -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