]> git.sur5r.net Git - openocd/commitdiff
tcl/interface/ftdi: add Digilent JTAG-SMT2 config
authorPaul Fertser <fercerpav@gmail.com>
Thu, 6 Mar 2014 12:55:13 +0000 (16:55 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 17 Mar 2014 12:51:19 +0000 (12:51 +0000)
Tested on ZedBoard by Tim Sander.

Change-Id: I4316d9b4d36f01bbe91a46c78ea8bca22efb1a5a
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2029
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
README
tcl/interface/ftdi/digilent_jtag_smt2.cfg [new file with mode: 0644]

diff --git a/README b/README
index c50a3f9b3d065be751880436a03a553ab8ee1408..645ff652ace9087550fa94f5f7e46cf08982da78 100644 (file)
--- a/README
+++ b/README
@@ -102,12 +102,12 @@ JTAG adapters
 
 AICE, ARM-JTAG-EW, ARM-USB-OCD, ARM-USB-TINY, AT91RM9200, axm0432,
 BCM2835, Bus Blaster, Buspirate, Chameleon, CMSIS-DAP, Cortino, DENX,
-DLC 5, DLP-USB1232H, embedded projects, eStick, FlashLINK, FlossJTAG,
-Flyswatter, Flyswatter2, Gateworks, Hoegl, ICDI, ICEBear, J-Link, JTAG
-VPI, JTAGkey, JTAGkey2, JTAG-lock-pick, KT-Link, Lisa/L,
-LPC1768-Stick, MiniModule, NGX, NXHX, OOCDLink, Opendous, OpenJTAG,
-Openmoko, OpenRD, OSBDM, Presto, Redbee, RLink, SheevaPlug devkit,
-Stellaris evkits, ST-LINK (SWO tracing supported),
+Digilent JTAG-SMT2, DLC 5, DLP-USB1232H, embedded projects, eStick,
+FlashLINK, FlossJTAG, Flyswatter, Flyswatter2, Gateworks, Hoegl, ICDI,
+ICEBear, J-Link, JTAG VPI, JTAGkey, JTAGkey2, JTAG-lock-pick, KT-Link,
+Lisa/L, LPC1768-Stick, MiniModule, NGX, NXHX, OOCDLink, Opendous,
+OpenJTAG, Openmoko, OpenRD, OSBDM, Presto, Redbee, RLink, SheevaPlug
+devkit, Stellaris evkits, ST-LINK (SWO tracing supported),
 STM32-PerformanceStick, STR9-comStick, sysfsgpio, TUMPA, Turtelizer,
 ULINK, USB-A9260, USB-Blaster, USB-JTAG, USBprog, VPACLink, VSLLink,
 Wiggler, XDS100v2, Xverve.
diff --git a/tcl/interface/ftdi/digilent_jtag_smt2.cfg b/tcl/interface/ftdi/digilent_jtag_smt2.cfg
new file mode 100644 (file)
index 0000000..014fe14
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Digilent JTAG-SMT2
+#
+# http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,395,1053&Prod=JTAG-SMT2
+#
+# Config is based on data from
+# http://electronix.ru/forum/index.php?showtopic=114633&view=findpost&p=1215497 and ZedBoard schematics
+#
+
+interface ftdi
+ftdi_vid_pid 0x0403 0x6014
+
+ftdi_layout_init 0x2088 0x3f8b
+ftdi_layout_signal nSRST -data 0x2000
+ftdi_layout_signal GPIO2 -data 0x2000
+ftdi_layout_signal GPIO1 -data 0x0200
+ftdi_layout_signal GPIO0 -data 0x0100