From: Paul Fertser Date: Sun, 2 Feb 2014 09:04:41 +0000 (+0400) Subject: interface/ftdi: add TUMPA Lite config X-Git-Tag: v0.8.0-rc1~100 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=698eaf9896b9b490676b13cf532c0161f7fb67c8 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 --- diff --git a/contrib/openocd.udev b/contrib/openocd.udev index 66ec9ba175..b2e1123aa1 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 0000000000..657515a91f --- /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