From: Paul Fertser Date: Sat, 18 Jan 2014 16:24:24 +0000 (+0400) Subject: interface/ftdi/xds100v2.cfg: default to reset state and ask user to release it later X-Git-Tag: v0.8.0-rc1~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c83801d1fc6a19901ff0b1e8be2c789ee2e30605;p=openocd 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 Reviewed-on: http://openocd.zylin.com/1884 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- 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"