From 1d4b0090e77dac47f53539612835b6174eb088ae Mon Sep 17 00:00:00 2001 From: Pushpal Sidhu Date: Fri, 23 Aug 2013 15:58:50 -0700 Subject: [PATCH] Added new ftdi interface device Added new configuration file for gw16042 device. Also added this to interface/ftdi examples in documentation. Change-Id: I07bb10bfc79a5d13007288cd57f254d889075214 Signed-off-by: Pushpal Sidhu Reviewed-on: http://openocd.zylin.com/1563 Tested-by: jenkins Reviewed-by: Spencer Oliver --- doc/openocd.texi | 22 +++++++++++----------- tcl/interface/ftdi/gw16042.cfg | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 11 deletions(-) create mode 100644 tcl/interface/ftdi/gw16042.cfg diff --git a/doc/openocd.texi b/doc/openocd.texi index c34ecb07..28e69e6f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -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 index 00000000..90c6f7c1 --- /dev/null +++ b/tcl/interface/ftdi/gw16042.cfg @@ -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 -- 2.39.5