From: Andreas Fritiofson Date: Fri, 9 May 2014 20:38:45 +0000 (+0200) Subject: cfg: Add SWD support to JTAG-lock-pick Tiny 2 X-Git-Tag: v0.9.0-rc1~350 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=baf998b9f8d17f4318b21336d5b57145fc4d44bc;p=openocd cfg: Add SWD support to JTAG-lock-pick Tiny 2 Change-Id: I61eac507fa6861b7daf603ebca58e8bf3cc699c1 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/2136 Tested-by: jenkins Reviewed-by: Jens Bauer Reviewed-by: Paul Fertser --- diff --git a/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg b/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg index 73e3d004..10eedde3 100644 --- a/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg +++ b/tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg @@ -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