From bf96df255ea86f2bcb1cabb78c80ce080ead0456 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Fri, 20 Jun 2014 13:31:25 +0400 Subject: jtag/drivers/ftdi: require defining SWD_EN signal for SWD mode Use a special signal instead of a dedicated swd mask. Amend jtag-lock-pick_tiny_2 config accordingly. Change-Id: Ifb007a0b5434b590c52f936efd5f5458e913e2e4 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2183 Reviewed-by: Andreas Fritiofson Tested-by: jenkins --- tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcl/interface') diff --git a/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg b/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg index 10eedde..c5e5db4 100644 --- a/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg +++ b/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg @@ -9,7 +9,7 @@ ftdi_device_desc "JTAG-lock-pick Tiny 2" ftdi_vid_pid 0x0403 0x8220 ftdi_layout_init 0x8c28 0xff3b -ftdi_layout_init_swd 0xac08 0xff3b +ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000 ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 ftdi_layout_signal SWDIO_OE -ndata 0x1000 -- cgit v1.1