]> git.sur5r.net Git - openocd/commitdiff
cfg: Add SWD support to JTAG-lock-pick Tiny 2
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 9 May 2014 20:38:45 +0000 (22:38 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 28 Jun 2014 09:34:39 +0000 (09:34 +0000)
Change-Id: I61eac507fa6861b7daf603ebca58e8bf3cc699c1
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2136
Tested-by: jenkins
Reviewed-by: Jens Bauer <jens@gpio.dk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg

index 73e3d004f65d8bf6cf125bcf58b7cdf2ccee3c2a..10eedde32053dfaafcf82e4bec1734c62df511c8 100644 (file)
@@ -9,6 +9,8 @@ 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 nTRST -data 0x0100 -noe 0x0400
 ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800
+ftdi_layout_signal SWDIO_OE -ndata 0x1000
 ftdi_layout_signal LED -ndata 0x8000