]> git.sur5r.net Git - openocd/commitdiff
Added new ftdi interface device
authorPushpal Sidhu <psidhu@gateworks.com>
Fri, 23 Aug 2013 22:58:50 +0000 (15:58 -0700)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 29 Aug 2013 07:56:38 +0000 (07:56 +0000)
Added new configuration file for gw16042 device.
Also added this to interface/ftdi examples in documentation.

Change-Id: I07bb10bfc79a5d13007288cd57f254d889075214
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Reviewed-on: http://openocd.zylin.com/1563
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi
tcl/interface/ftdi/gw16042.cfg [new file with mode: 0644]

index c34ecb078b08d25f416076b826b2bb4a8bed2e30..28e69e6f56c3bdaef906c824f4c3709e80eb3e0c 100644 (file)
@@ -1306,23 +1306,23 @@ hilscher_nxhx500_re.cfg   opendous_ftdi.cfg          vsllink.cfg
 hilscher_nxhx50_etm.cfg   openocd-usb.cfg            xds100v2.cfg
 
 interface/ftdi:
-axm0432.cfg               icebear.cfg                oocdlink.cfg
-calao-usb-a9260-c01.cfg   jtagkey2.cfg               opendous_ftdi.cfg
-calao-usb-a9260-c02.cfg   jtagkey2p.cfg              openocd-usb.cfg
-cortino.cfg               jtagkey.cfg                openocd-usb-hs.cfg
-dlp-usb1232h.cfg          jtag-lock-pick_tiny_2.cfg  openrd.cfg
-dp_busblaster.cfg         kt-link.cfg                redbee-econotag.cfg
-flossjtag.cfg             lisa-l.cfg                 redbee-usb.cfg
-flossjtag-noeeprom.cfg    luminary.cfg               sheevaplug.cfg
-flyswatter2.cfg           luminary-icdi.cfg          signalyzer.cfg
-flyswatter.cfg            luminary-lm3s811.cfg       signalyzer-lite.cfg
+axm0432.cfg               hitex_str9-comstick.cfg    olimex-jtag-tiny.cfg
+calao-usb-a9260-c01.cfg   icebear.cfg                oocdlink.cfg
+calao-usb-a9260-c02.cfg   jtagkey2.cfg               opendous_ftdi.cfg
+cortino.cfg               jtagkey2p.cfg              openocd-usb.cfg
+dlp-usb1232h.cfg          jtagkey.cfg                openocd-usb-hs.cfg
+dp_busblaster.cfg         jtag-lock-pick_tiny_2.cfg  openrd.cfg
+flossjtag.cfg             kt-link.cfg                redbee-econotag.cfg
+flossjtag-noeeprom.cfg    lisa-l.cfg                 redbee-usb.cfg
+flyswatter2.cfg           luminary.cfg               sheevaplug.cfg
+flyswatter.cfg            luminary-icdi.cfg          signalyzer.cfg
+gw16042.cfg               luminary-lm3s811.cfg       signalyzer-lite.cfg
 hilscher_nxhx10_etm.cfg   minimodule.cfg             stm32-stick.cfg
 hilscher_nxhx500_etm.cfg  neodb.cfg                  turtelizer2-revB.cfg
 hilscher_nxhx500_re.cfg   ngxtech.cfg                turtelizer2-revC.cfg
 hilscher_nxhx50_etm.cfg   olimex-arm-usb-ocd.cfg     vpaclink.cfg
 hilscher_nxhx50_re.cfg    olimex-arm-usb-ocd-h.cfg   xds100v2.cfg
 hitex_lpc1768stick.cfg    olimex-arm-usb-tiny-h.cfg
-hitex_str9-comstick.cfg   olimex-jtag-tiny.cfg
 $
 @end example
 @item @file{board} ...
diff --git a/tcl/interface/ftdi/gw16042.cfg b/tcl/interface/ftdi/gw16042.cfg
new file mode 100644 (file)
index 0000000..90c6f7c
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# Gateworks GW16042 JTAG Dongle
+#
+# http://www.gateworks.com/
+#
+# Layout:  FTDI FT2232H
+#   ADBUS0 TCK
+#   ADBUS1 TDI
+#   ADBUS2 TDO (input)
+#   ADBUS3 TMS
+#   ADBUS4 nTRST
+#   ADBUS5 nSRST
+#   ADBUS6 OE (active high) for TRST, TDI, TMS, TCK
+#   ADBUS7 NC
+#   ACBUS0-7 NC
+#   BDBUS0 RXD
+#   BDBUS1 TXD (input)
+#
+
+interface ftdi
+ftdi_device_desc "USB-JTAG"
+ftdi_vid_pid 0x0403 0x6010
+
+ftdi_layout_init 0x0058 0x007b
+ftdi_layout_signal nTRST -data 0x0010
+ftdi_layout_signal nSRST -oe 0x0020