Hi,

I posted a patch for a new device which can be used as JTAG programmer
by OpenOCD a few months ago, seems it got lost or forgotten so here'
a repost. I rebased against current git. Old message:


  I recently got a DLP Design DLP-USB1232H UART/SPI/JTAG module which is
  based on an FT2232H chip. I originally intended to use it to flash SPI
  BIOS chips from various mainboards (for details on that setup see
  http://www.flashrom.org/FT2232SPI_Programmer).
  
  However, this module is equally well usable 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 using the interface config file attached.
  
  The nice thing is that everything worked pretty much out of the box, I
  didn't have to change a single line of code in the OpenOCD source.
  
  I documented the details at:
  http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter
  
  The attached patch adds the respective config file to OpenOCD.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.randomprojects.org
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
>From 5e4981d2e3900836ab1e87ad076312275a601e29 Mon Sep 17 00:00:00 2001
From: Uwe Hermann <u...@hermann-uwe.de>
Date: Fri, 27 Nov 2009 09:55:54 +0100
Subject: [PATCH] Add an interface file for DLP Design DLP-USB1232H.

The DLP Design DLP-USB1232H UART/SPI/JTAG module is based on an 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
---
 contrib/openocd.udev           |    1 +
 doc/openocd.texi               |    2 ++
 tcl/interface/dlp-usb1232h.cfg |   14 ++++++++++++++
 3 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 tcl/interface/dlp-usb1232h.cfg

diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index bcec6af..393e578 100644
--- a/contrib/openocd.udev
+++ b/contrib/openocd.udev
@@ -28,6 +28,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 bb8f3ab..7b9d3ff 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 0000000..7432413
--- /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
+
-- 
1.7.0.3

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to