From 698eaf9896b9b490676b13cf532c0161f7fb67c8 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sun, 2 Feb 2014 13:04:41 +0400 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/1918 Tested-by: jenkins Reviewed-by: Spencer Oliver --- contrib/openocd.udev | 4 ++++ tcl/interface/ftdi/tumpa-lite.cfg | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tcl/interface/ftdi/tumpa-lite.cfg 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 -- 2.39.5