aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-06-20 13:31:25 +0400
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-06-28 09:36:53 +0000
commitbf96df255ea86f2bcb1cabb78c80ce080ead0456 (patch)
treef6de193429c2c9a62cc862489086a54592cead1f /tcl
parent64d02ccf82b865293e495e51cbdec6f12bb9ff96 (diff)
downloadriscv-openocd-bf96df255ea86f2bcb1cabb78c80ce080ead0456.zip
riscv-openocd-bf96df255ea86f2bcb1cabb78c80ce080ead0456.tar.gz
riscv-openocd-bf96df255ea86f2bcb1cabb78c80ce080ead0456.tar.bz2
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 <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2183 Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg2
1 files changed, 1 insertions, 1 deletions
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