Hi,

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.coreboot.org/Flashrom/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.


Thanks, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index c878975..2df4856 100644
--- a/contrib/openocd.udev
+++ b/contrib/openocd.udev
@@ -23,6 +23,7 @@ SYSFS{idVendor}=="0fbb", SYSFS{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
 SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6010", MODE="664", GROUP="plugdev"
 
 # Calao Systems USB-A9260-C02
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
+
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to