interface/ftdi/xds100v2.cfg: default to reset state and ask user to release it later
authorPaul Fertser <fercerpav@gmail.com>
Sat, 18 Jan 2014 16:24:24 +0000 (20:24 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 11 Feb 2014 13:04:06 +0000 (13:04 +0000)
This adapter is special and needs a reset sequence to be performed
before operation. Since there're no suitable hooks to do that, we have
no choice but to ask the user to manually add the necessary commands
to his or her config file.

Change-Id: I48fb4276e77529768266840221b68c3ae26801e1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1884
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tcl/interface/ftdi/xds100v2.cfg

index 8557baa30d0ccc8e2122f954094989b9699ed4f4..6ff5a1b1711d7262a223f0cf3ed6389b779e70aa 100644 (file)
@@ -8,7 +8,7 @@ interface ftdi
 ftdi_device_desc "Texas Instruments Inc.XDS100 Ver 2.0"
 ftdi_vid_pid 0x0403 0xa6d0
 
-ftdi_layout_init 0x0838 0x597b
+ftdi_layout_init 0x0038 0x597b
 ftdi_layout_signal nTRST -data 0x0010
 ftdi_layout_signal nSRST -oe 0x0100
 ftdi_layout_signal nEMU_EN -data 0x0020
@@ -16,3 +16,5 @@ ftdi_layout_signal nEMU0 -data 0x0040
 ftdi_layout_signal nEMU1 -data 0x1000
 ftdi_layout_signal PWR_RST -data 0x0800
 ftdi_layout_signal LOOPBACK -data 0x4000
+
+echo "\nInfo : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST 1; jtag arp_init'' to the end of your config file!\n"