From 498662e2e5e89ab7299b2fa54a307c5bfcdcd00e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 14 Oct 2011 00:21:06 +0200 Subject: [PATCH] Add an interface file for DLP Design DLP-USB1232H. The DLP Design DLP-USB1232H UART/SPI/JTAG module is based on an FTDI FT2232H chip. Among other things, it can used as JTAG programmer if connected to the JTAG target properly. I have successfully wired the module to an Olimex STM32-H103 eval board and flashed a firmware onto that using OpenOCD. The setup details and schematics are documented at: http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter Change-Id: I5eb9255a61eeece233009bee77d7dc3b5d1afb8b Signed-off-by: Uwe Hermann Reviewed-on: http://openocd.zylin.com/20 Reviewed-by: Spencer Oliver Tested-by: Spencer Oliver --- contrib/openocd.udev | 1 + doc/openocd.texi | 2 ++ tcl/interface/dlp-usb1232h.cfg | 14 ++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 tcl/interface/dlp-usb1232h.cfg diff --git a/contrib/openocd.udev b/contrib/openocd.udev index ba951fb750..25cc718973 100644 --- a/contrib/openocd.udev +++ b/contrib/openocd.udev @@ -27,6 +27,7 @@ ATTRS{idVendor}=="0fbb", ATTRS{idProduct}=="1000", MODE="664", GROUP="plugdev" # TinCanTools Flyswatter # OOCD-Link # Marvell Sheevaplug (early development versions) +# DLP Design DLP-USB1232H USB-to-UART/FIFO interface module ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="664", GROUP="plugdev" # Calao Systems USB-A9260-C02 diff --git a/doc/openocd.texi b/doc/openocd.texi index 960a4c081e..37898591e6 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -372,6 +372,8 @@ Stellaris eval boards, they can be used to debug other target boards. @* Axiom AXM-0432 Link @url{http://www.axman.com} @item @b{cortino} @* Link @url{http://www.hitex.com/index.php?id=cortino} +@item @b{dlp-usb1232h} +@* Link @url{http://www.dlpdesign.com/usb/usb1232h.shtml} @end itemize @section USB-JTAG / Altera USB-Blaster compatibles diff --git a/tcl/interface/dlp-usb1232h.cfg b/tcl/interface/dlp-usb1232h.cfg new file mode 100644 index 0000000000..7432413808 --- /dev/null +++ b/tcl/interface/dlp-usb1232h.cfg @@ -0,0 +1,14 @@ +# +# DLP Design DLP-USB1232H USB-to-UART/FIFO interface module +# +# http://www.dlpdesign.com/usb/usb1232h.shtml +# +# Schematics for OpenOCD usage: +# http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter +# + +interface ft2232 +ft2232_device_desc "Dual RS232-HS" +ft2232_layout usbjtag +ft2232_vid_pid 0x0403 0x6010 + -- 2.30.2