DLP-USB1232H and OpenOCD based JTAG adapter

From Random Projects
Jump to: navigation, search
DLP-USB1232H module
DLP-USB1232H connected
DLP-USB1232H connected

The DLP Design DLP-USB1232H (datasheet) single channel high-speed USB adapter can be used as a JTAG adapter with OpenOCD support.


These sample schematics show how to connect the DLP-USB1232H device pins to a sample JTAG device (an Olimex STM32-H103 eval board in this case).

Documentation: DLP-USB1232H datasheet (pinout is on page 4 and page 7), schematics of the STM32-H103, STM32-H103 JTAG connector pinout.

Pin type DLP-USB1232H pin# STM32-H103 JTAG pin# Comments
TRST 17 3 (N)TRST on the STM32-H103
TDI 16 5
TMS 5 7
TCK 18 9
TDO 2 13
(S)RST 13 15
GND Either 1 or 10 Any GND pin Any STM32-H103 GND pin on the JTAG connector can be used, e.g. 4, 6, 8, 10, 12, 14, 16, 18, or 20.

IMPORTANT: You also need to connect/shorten pins 8 and 9 on the DLP-USB1232H module in order to configure it to be powered via USB.

Also, the JTAG target (the STM32-H103 in this example) must be powered (via USB in this case).


$ openocd -f interface/dlp-usb1232h.cfg -f board/olimex_stm32_h103.cfg

A patch for OpenOCD to add the dlp-usb1232h.cfg file has been merged upstream in 10/2011.


The DLP-USB1232H is available from various sources, e.g.: Digikey, Mouser, or Saelig.

The module can also be used as a cheap and simple SPI BIOS chip programmer together with the flashrom utility.