#
# 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)
#

adapter driver 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
