From 44394c2a77f68785e2ec87e2245d0f1624086682 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 10 Sep 2014 12:29:23 +0400 Subject: [PATCH] interface/ftdi/olimex-arm-usb-ocd-h: fix nTRST control definition According to my inspection of an Olimex ARM-USB-OCD-H adapter ACBUS0 is connected directly to an SN74LVC2T45 buffer input B2, and the corresponding output A2 is connected directly to the JTAG connector. It seems the information in the Olimex flyer is incorrect for the -H version and TRST can't be tri-stated, ACBUS2 is unused. The older ARM-USB-OCD device has SN74AC244 for an output buffer and ACBUS2 controls its !2OE, ACBUS0 connected to 2A1 (2Y1 is nTRST), in accordance with the information flyer. Change-Id: I22828b7b959b6f62c3f51367feb8fab9705641e5 Reported-by: Tim Sander Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2286 Tested-by: jenkins Reviewed-by: Spencer Oliver Reviewed-by: Tim Sander --- tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg b/tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg index 8e04fedf..5b27d38b 100644 --- a/tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg +++ b/tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg @@ -8,7 +8,7 @@ interface ftdi ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-OCD-H" ftdi_vid_pid 0x15ba 0x002b -ftdi_layout_init 0x0c08 0x0f1b +ftdi_layout_init 0x0908 0x0b1b ftdi_layout_signal nSRST -oe 0x0200 -ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 +ftdi_layout_signal nTRST -data 0x0100 ftdi_layout_signal LED -data 0x0800 -- 2.39.5