aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-09-10 12:29:23 +0400
committerSpencer Oliver <spen@spen-soft.co.uk>2014-10-06 11:59:48 +0000
commit44394c2a77f68785e2ec87e2245d0f1624086682 (patch)
treeabbe36fab750c21a05878d0f203fde3b16d3c3db /tcl
parent61d8b2cabfd967a1702f2c14661b03d8dcb7d44c (diff)
downloadriscv-openocd-44394c2a77f68785e2ec87e2245d0f1624086682.zip
riscv-openocd-44394c2a77f68785e2ec87e2245d0f1624086682.tar.gz
riscv-openocd-44394c2a77f68785e2ec87e2245d0f1624086682.tar.bz2
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 <tim@krieglstein.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2286 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Tim Sander <tim@krieglstein.org>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg4
1 files 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 8e04fed..5b27d38 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