aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-01-18 20:24:24 +0400
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-02-11 13:04:06 +0000
commitc83801d1fc6a19901ff0b1e8be2c789ee2e30605 (patch)
tree9baa0fa639ebbf17ac23ce42cd3f578303c52c83 /tcl
parent7b9b4a0d287cdf84033a0d34d05a25fa80160cf5 (diff)
interface/ftdi/xds100v2.cfg: default to reset state and ask user to release it later
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>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/ftdi/xds100v2.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcl/interface/ftdi/xds100v2.cfg b/tcl/interface/ftdi/xds100v2.cfg
index 8557baa3..6ff5a1b1 100644
--- a/tcl/interface/ftdi/xds100v2.cfg
+++ b/tcl/interface/ftdi/xds100v2.cfg
@@ -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"