DLP-USB1232H and OpenOCD based JTAG adapter
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).
|Pin type||DLP-USB1232H pin#||STM32-H103 JTAG pin#||Comments|
|TRST||17||3||(N)TRST on the STM32-H103|
|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.