Import xPack OpenOCD 0.12.0-7 and GNU Make 4.4.1 from x86_64-w64-mingw32.

This commit is contained in:
2026-09-14 16:20:05 +08:00
parent 2b73c30a9d
commit 534c017e0f
1133 changed files with 74341 additions and 0 deletions
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# www.100ask.org OpenJTAG
#
# http://www.100ask.net/OpenJTAG.html
#
# Schematics are available from
# https://blog.matthiasbock.net/wp-content/uploads/2015/04/100ask-JTAGv3.pdf
#
adapter driver ftdi
ftdi device_desc "USB<=>JTAG&RS232"
ftdi vid_pid 0x1457 0x5118
ftdi layout_init 0x0f08 0x0f1b
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Ashling Opella-LD
#
# https://www.ashling.com/Opella-LD/
#
adapter driver ftdi
ftdi device_desc "Opella-LD Debug Probe"
ftdi vid_pid 0x0B6B 0x0040
ftdi tdo_sample_edge falling
ftdi layout_init 0x0A68 0xFF7B
ftdi channel 0
ftdi layout_signal JTAGOE -ndata 0x0010
ftdi layout_signal nTRST -data 0x0020
ftdi layout_signal nSRST -data 0x0040
ftdi layout_signal SWD_EN -data 0x0100
ftdi layout_signal SWDIO_OE -data 0x0200
ftdi layout_signal LED -ndata 0x0800
transport select jtag
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Ashling Opella-LD
#
# https://www.ashling.com/Opella-LD/
#
adapter driver ftdi
ftdi device_desc "Opella-LD Debug Probe"
ftdi vid_pid 0x0B6B 0x0040
ftdi layout_init 0x0860 0x0b7b
ftdi channel 0
ftdi layout_signal JTAGOE -data 0x0010
ftdi layout_signal nTRST -data 0x0020
ftdi layout_signal nSRST -data 0x0040
ftdi layout_signal SWD_EN -data 0x0100
ftdi layout_signal SWDIO_OE -data 0x0200
ftdi layout_signal LED -ndata 0x0800
transport select swd
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Axiom axm0432
#
# http://www.axman.com
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Symphony SoundBite"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0c08 0x0c2b
ftdi layout_signal nTRST -data 0x0800
ftdi layout_signal nSRST -data 0x0400
@@ -0,0 +1,58 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# FTDI USB Hi-Speed to MPSSE Cable
#
# http://www.ftdichip.com/Products/Cables/USBMPSSE.htm
#
# C232HM-DDHSL-0 and C232HM-EDSL-0 provide 3.3V and 5V on pin 1 (Red),
# respectively.
#
# Adapter: http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_C232HM_MPSSE_CABLE.PDF
# Chip: http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232H.pdf
# See pinout/colors at end of this file.
#
# Tech notes:
# http://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf
# http://www.ftdichip.com/Support/Documents/AppNotes/AN_129_FTDI_Hi_Speed_USB_To_JTAG_Example.pdf
adapter driver ftdi
#ftdi device_desc "C232HM-DDHSL-0"
#ftdi device_desc "C232HM-EDHSL-0"
# Common PID for FT232H
ftdi vid_pid 0x0403 0x6014
# Layout
# High data byte 0x40 configures red LED on ACBUS6 initially high (unlit, since active-low)
# Low data byte 0x08 configures TMS on ACBUS3 initially high (asserted); TCK, TDI low
# High direction byte 0x40 configures red LED on ACBUS6 as high (output)
# Low direction byte 0x0b configures TDO on ACBUS2 as low (input)
ftdi layout_init 0x4008 0x400b
# ---A*BUS-------CCCCCCCC|DDDDDDDD
# --------\______76543210|76543210
# LED 0x4000 = 01000000|00000000 = ACBUS6
#GPIOL0 0x0010 = 00000000|00010000 = ADBUS4
#GPIOL1 0x0020 = 00000000|00100000 = ADBUS5
#GPIOL2 0x0040 = 00000000|01000000 = ADBUS6
#GPIOL3 0x0080 = 00000000|10000000 = ADBUS7
# -ndata treats the LED as active-low for expected behavior (toggle when transferring)
ftdi layout_signal LED -ndata 0x4000
# Available for aliasing as desired
ftdi layout_signal GPIOL0 -data 0x0010 -oe 0x0010
ftdi layout_signal GPIOL1 -data 0x0020 -oe 0x0020
ftdi layout_signal GPIOL2 -data 0x0040 -oe 0x0040
ftdi layout_signal GPIOL3 -data 0x0080 -oe 0x0080
# C232HM FT232H JTAG/Other
# Num Color Name Func
# 1 Red VCC Optionally, can power the board if it is not using its own power supply.
# 2 Orange ADBUS0 TCK
# 3 Yellow ADBUS1 TDI
# 4 Green ADBUS2 TDO
# 5 Brown ADBUS3 TMS
# 6 Grey ADBUS4 GPIOL0
# 7 Purple ADBUS5 GPIOL1
# 8 White ADBUS6 GPIOL2
# 9 Blue ADBUS7 GPIOL3
# 10 Black GND Connect to ground
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hitex Cortino
#
# http://www.hitex.com/index.php?id=cortino
#
adapter driver ftdi
ftdi device_desc "Cortino"
ftdi vid_pid 0x0640 0x0032
ftdi layout_init 0x0108 0x010b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200 -oe 0x0200
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# this supports JTAG-HS1 and JTAG-SMT1
# (the later being the OEM on-board version)
adapter driver ftdi
ftdi device_desc "Digilent Adept USB Device"
ftdi vid_pid 0x0403 0x6010
# channel 1 does not have any functionality
ftdi channel 0
# just TCK TDI TDO TMS, no reset
ftdi layout_init 0x0088 0x008b
reset_config none
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# this supports JTAG-HS2 (and apparently Nexys4 as well)
# ADBUS5 controls TMS tri-state buffer enable
# ACBUS6=SEL_TMS controls mux to TMS output buffer: 0=TMS 1=TDI
# ACBUS5=SEL_TDO controls mux to TDO input: 0=TDO 1=TMS
adapter driver ftdi
ftdi device_desc "Digilent Adept USB Device"
ftdi vid_pid 0x0403 0x6014
ftdi channel 0
ftdi layout_init 0x00e8 0x60eb
ftdi layout_signal SWD_EN -data 0x6000
ftdi layout_signal SWDIO_OE -data 0x20
reset_config none
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Digilent JTAG-HS3
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6014
ftdi device_desc "Digilent USB Device"
# From Digilent support:
# The SRST pin is [...] 0x20 and 0x10 is the /OE (active low output enable)
ftdi layout_init 0x2088 0x308b
ftdi layout_signal nSRST -data 0x2000 -noe 0x1000
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# 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
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6014
ftdi layout_init 0x20e8 0x3feb
ftdi layout_signal nSRST -data 0x2000
ftdi layout_signal GPIO2 -data 0x2000
ftdi layout_signal GPIO1 -data 0x0200
ftdi layout_signal GPIO0 -data 0x0100
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Digilent JTAG-SMT2-NC
#
# http://store.digilentinc.com/jtag-smt2-nc-surface-mount-programming-module/
# https://reference.digilentinc.com/_media/jtag_smt2nc/jtag-smt2-nc_rm.pdf
#
# Based on reference sheet (above) and Xilinx KCU105 schematics
# https://www.xilinx.com/products/boards-and-kits/kcu105.html#documentation
#
# Note that the digilent_jtag_smt2 layout does not work and hangs while
# the ftdi device_desc from digilent_hs2 is wrong.
adapter driver ftdi
ftdi device_desc "Digilent USB Device"
ftdi vid_pid 0x0403 0x6014
ftdi channel 0
ftdi layout_init 0x00e8 0x60eb
reset_config none
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# DLP Design DLP-USB1232H USB-to-UART/FIFO interface module
#
# http://www.dlpdesign.com/usb/usb1232h.shtml
#
# Schematics for OpenOCD usage:
# http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on schematics and code"
echo "in ft2232.c. Please report your experience with this file to openocd-devel"
echo "mailing list, so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0040 -oe 0x0040
@@ -0,0 +1,22 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Dangerous Prototypes - Bus Blaster
#
# The Bus Blaster has a configurable buffer between the FTDI FT2232H and the
# JTAG header which allows it to emulate various debugger types. It comes
# configured as a JTAGkey device.
#
# http://dangerousprototypes.com/docs/Bus_Blaster
#
echo "Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster
and use dp_busblaster_kt-link.cfg instead"
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Dangerous Prototypes - Bus Blaster (with KT-Link buffer)
#
# The Bus Blaster has a configurable buffer between the FTDI FT2232H
# and the JTAG header which allows it to emulate various debugger
# types. This config works with KT-Link compatible implementation from
# https://github.com/bharrisau/busblaster and is SWD-enabled.
#
# http://dangerousprototypes.com/docs/Bus_Blaster
#
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x8c28 0xff3b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
ftdi layout_signal LED -ndata 0x8000
ftdi layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
ftdi layout_signal SWDIO_OE -ndata 0x1000
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Driver for the FT2232H JTAG chip on the Espressif DevkitJ board
# (and most other FT2232H and FT232H based boards)
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010 0x0403 0x6014
# interface 1 is the uart
ftdi channel 0
# TCK, TDI, TDO, TMS: ADBUS0-3
# LEDs: ACBUS4-7
ftdi layout_init 0x0008 0xf00b
ftdi layout_signal LED -data 0x1000
ftdi layout_signal LED2 -data 0x2000
ftdi layout_signal LED3 -data 0x4000
ftdi layout_signal LED4 -data 0x8000
# ESP32 series chips do not have a TRST input, and the SRST line is connected to the EN pin.
# The target code doesn't handle SRST reset properly yet, so this is commented out:
# ftdi layout_signal nSRST -oe 0x0020
# reset_config srst_only
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Driver for the FT2232H JTAG chip on the Espressif Kaluga-1 ESP32-S2 board
# (and most other FT2232H and FT232H based boards)
#
# JTAG DIP switch (labelled SW5 in the schematic) should be "ON" for lines
# labelled TCK, TDO, TDI and TWS, to connect the FT2232H to the ESP32-S2.
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010 0x0403 0x6014
# interface 1 is the uart
ftdi channel 0
# TCK, TDI, TDO, TMS: ADBUS0-3
# TRST/SRST: ADBUS5 (unused for now)
# LEDs: ACBUS3-4 (inverted)
ftdi layout_init 0x0008 0x180b
ftdi layout_signal LED -ndata 0x0800
ftdi layout_signal LED2 -ndata 0x1000
# ESP32* series chips do not have a TRST input, and the SRST line is connected
# to the EN pin.
# The target code doesn't handle SRST reset properly yet, so this is
# commented out:
# ftdi layout_signal nSRST -oe 0x0020
# reset_config srst_only
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# FlossJTAG
#
# http://github.com/esden/floss-jtag
#
# This is the pre v0.3 Floss-JTAG compatible config file. It can also be used
# for newer versions of Floss-JTAG with empty or not populated EEPROM. If you
# have several Floss-JTAG connected you have to use the USB ID to select a
# specific one.
#
# If you have a Floss-JTAG WITH EEPROM that is programmed, use the
# flossjtag.cfg file.
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0040 -oe 0x0040
@@ -0,0 +1,31 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# FlossJTAG
#
# http://github.com/esden/floss-jtag
#
# This is the v0.3 and v1.0 Floss-JTAG compatible config file. It relies on the
# existence of an EEPROM on Floss-JTAG containing a name. If you have several
# Floss-JTAG adapters connected you can use the serial number to select a
# specific device.
#
# If your Floss-JTAG does not have an EEPROM, or the EEPROM is empty, use the
# flossjtag-noeeprom.cfg file.
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi device_desc "FLOSS-JTAG"
# adapter serial "FJ000001"
ftdi layout_init 0x0008 0x180b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0040 -oe 0x0040
ftdi layout_signal LED -data 0x0800
ftdi layout_signal LED2 -data 0x1000
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# TinCanTools Flyswatter
#
# http://web.archive.org/web/20150419072034/http://www.tincantools.com/JTAG/Flyswatter.html
#
adapter driver ftdi
ftdi device_desc "Flyswatter"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0818 0x0cfb
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -oe 0x0020
ftdi layout_signal LED -data 0x0c00
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# TinCanTools Flyswatter2
#
# https://www.tincantools.com/product/flyswatter2/
#
adapter driver ftdi
ftdi device_desc "Flyswatter2"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0538 0x057b
ftdi layout_signal LED -ndata 0x0400
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -data 0x0020 -noe 0x0100
@@ -0,0 +1,54 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# ADAFRUIT FTDI FT232H as a SWD direct connect interface
# Any FT232H based board may work
#
# http://www.ftdichip.com/Products/ICs/FT232H.htm
#
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6014
# data MSB..LSB direction (1:out) MSB..LSB
# 0000'0000'0011'0000 0000'0000'0011'1011
ftdi layout_init 0x0030 0x003b
# 0xfff8 0xfffb
# Those signal are only required on some platforms or may required to be
# enabled explicitly (e.g. nrf5x chips).
ftdi layout_signal nSRST -data 0x0010 -oe 0x0010
ftdi layout_signal nTRST -data 0x0020 -oe 0x0020
# swd enable
ftdi layout_signal SWD_EN -data 0
# tri-state (configure as input) TDO/TIO when reading
ftdi layout_signal SWDIO_OE -data 0
transport select swd
# re-configure TDO as tri-state
#ftdi layout_signal TDO -data 0x0002 -oe 0x0002
#ftdi layout_signal TDI -data 0x0004
# Adafruit FT232H JTAG SWD
# Name Pin Name Func Func
# D0 J1-3 ADBUS0 TCK SWDCLK
# D1 J1-4 ADBUS1 TDO/DI SWDIO
# D2 J1-5 ADBUS2 TDI/DO SWDIO
# D3 J1-6 ADBUS3 TMS N/A
# D4 J1-7 ADBUS4 (GPIOL0) /nSRST optional module reset
# D5 J1-8 ADBUS5 (GPIOL1) /nTRST optional target reset
# D6 J1-9 ADBUS6 (GPIOL2)
# D7 J1-10 ADBUS7 (GPIOL3)
# C0 J2-1 ACBUS0 (GPIOH0)
# C1 J2-2 ACBUS1 (GPIOH1)
# C2 J2-3 ACBUS2 (GPIOH2)
# C3 J2-4 ACBUS3 (GPIOH3)
# C4 J2-5 ACBUS4 (GPIOH4)
# C5 J2-6 ACBUS5 (GPIOH5)
# C6 J2-7 ACBUS6 (GPIOH6)
# C7 J2-8 ACBUS7 (GPIOH7)
# C8 J2-9 ACBUS8
# C9 J2-10 ACBUS9
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# 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
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hofstädtler Industrie-Electronic (HIE) JTAG Debugger
#
# https://www.hofstaedtler.com/jtag
#
adapter driver ftdi
ftdi channel 0
ftdi vid_pid 0x0403 0x6014
ftdi device_desc "HIE JTAG Debugger"
ftdi layout_init 0x0c08 0x4f1b
# define both Reset signals
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
# Toggle USB LED
ftdi layout_signal LED -ndata 0x4000
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hilscher NXHX 10-ETM
#
# http://de.hilscher.com/products_details_hardware.html?p_id=P_4ce145a5983e6
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "NXHX 10-ETM"
ftdi vid_pid 0x0640 0x0028
ftdi layout_init 0x0308 0x030b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hilscher NXHX 500-ETM
#
# http://de.hilscher.com/files_design/8/NXHX500-ETM_description_Rev01_EN.pdf
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "NXHX 500-ETM"
ftdi vid_pid 0x0640 0x0028
ftdi layout_init 0x0308 0x030b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hilscher NXHX 500-RE
#
# http://de.hilscher.com/products_details_hardware.html?p_id=P_461ff2053bad1&bs=20
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "NXHX 500-RE"
ftdi vid_pid 0x0640 0x0028
ftdi layout_init 0x0308 0x030b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hilscher NXHX 50-ETM
#
# http://de.hilscher.com/files_design/8/NXHX50-ETM_description_Rev01_EN.pdf
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "NXHX 50-ETM"
ftdi vid_pid 0x0640 0x0028
ftdi layout_init 0x0308 0x030b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hilscher NXHX 50-RE
#
# http://de.hilscher.com/products_details_hardware.html?p_id=P_483c0f582ad36&bs=20
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "NXHX50-RE"
ftdi vid_pid 0x0640 0x0028
ftdi layout_init 0x0308 0x030b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hitex LPC1768-Stick
#
# http://www.hitex.com/?id=1602
#
adapter driver ftdi
ftdi device_desc "LPC1768-Stick"
ftdi vid_pid 0x0640 0x0026
ftdi layout_init 0x0388 0x038b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0080 -noe 0x200
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hitex STR9-comStick
#
# http://www.hitex.com/index.php?id=383
#
adapter driver ftdi
ftdi device_desc "STR9-comStick"
ftdi vid_pid 0x0640 0x002c
ftdi layout_init 0x0108 0x010b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0200 -oe 0x0200
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Section5 ICEBear
#
# http://section5.ch/icebear
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "ICEbear JTAG adapter"
ftdi vid_pid 0x0403 0xc140
ftdi layout_init 0x0028 0x002b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0020
@@ -0,0 +1,30 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Configuration file for NXP MC-IMX8MP-EVK on-board internal JTAG
#
# Using this interface requires enabling "remote mode" for the board using the
# NXP bcu tool (see https://github.com/NXPmicro/bcu)
#
# bcu set_gpio remote_en 1 -board=imx8mpevk
#
# The REMOTE_EN gpio is accessible through the same FTDI adapter but it's
# behind an I2C GPIO expander.
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6011
ftdi channel 0
ftdi layout_init 0x00f8 0x000b
ftdi layout_signal RESET_B -data 0x0010 -oe 0x0010
# Called SYS_nRST in schematics
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
ftdi layout_signal IO_nRST -data 0x0040 -oe 0x0040
ftdi layout_signal ONOFF_B -data 0x0080 -oe 0x0080
ftdi layout_signal GPIO1 -data 0x0100 -oe 0x0100
ftdi layout_signal GPIO2 -data 0x0200 -oe 0x0200
ftdi layout_signal GPIO3 -data 0x0400 -oe 0x0400
ftdi layout_signal GPIO4 -data 0x0800 -oe 0x0800
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# In-Circuit's ICprog OpenOCD JTAG Adapter
# https://shop.in-circuit.de/product_info.php?products_id=112
#
# Schematics available at
# http://wiki.in-circuit.de/images/0/06/610000158A_openocd.pdf
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nSRST -noe 0x0400 -data 0x0800
ftdi layout_signal nTRST -noe 0x0100 -data 0x0200
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This is the integrated adapter as found on the IoT-LAB boards
# https://github.com/iot-lab/iot-lab/wiki
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0040 -oe 0x0040
@@ -0,0 +1,29 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# isodebug v1
# 5 kV isolated JTAG/SWD + UART adapter by Unjo AB
adapter driver ftdi
ftdi vid_pid 0x22b7 0x150d
ftdi layout_init 0x0ff8 0xfffb
ftdi layout_signal LED -ndata 0x0100
ftdi layout_signal nTRST -data 0x0200
ftdi layout_signal nSRST -noe 0x0400
ftdi layout_signal SWDIO_OE -data 0x0008
# Mode signals, either of these needs to be high to drive the JTAG/SWD pins.
# The power-on state is low for both signals but the init setting above sets
# JTAG_EN high.
ftdi layout_signal SWD_EN -data 0x1000
ftdi layout_signal JTAG_EN -data 0x0800
# In SWD mode, the JTAG_EN signal doubles as SWO_EN_N which switches the
# second FTDI channel UART RxD to the SWO pin instead of the separate RxD
# pin. Note that the default init state has this pin high so when OpenOCD
# starts in SWD mode, SWO is by default disabled. To enable SWO tracing,
# issue the command 'ftdi set_signal SWO_EN 1' where tracing is configured.
# To switch back to using the separate UART, SWO_EN needs to be disabled
# before exiting OpenOCD, or the adapter replugged.
ftdi layout_signal SWO_EN -nalias JTAG_EN
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# DISTORTEC JTAG-lock-pick Tiny 2
#
# http://www.distortec.com
#
adapter driver ftdi
ftdi device_desc "JTAG-lock-pick Tiny 2"
ftdi vid_pid 0x0403 0x8220
ftdi layout_init 0x8c28 0xff3b
ftdi layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
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
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Amontec JTAGkey
#
# http://www.amontec.com/jtagkey.shtml
#
adapter driver ftdi
ftdi device_desc "Amontec JTAGkey"
ftdi vid_pid 0x0403 0xcff8
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Amontec JTAGkey2
#
# http://www.amontec.com/jtagkey2.shtml
#
adapter driver ftdi
ftdi device_desc "Amontec JTAGkey-2"
ftdi vid_pid 0x0403 0xcff8
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Amontec JTAGkey2P
#
# http://www.amontec.com/jtagkey2p.shtml
#
adapter driver ftdi
ftdi device_desc "Amontec JTAGkey-2P"
ftdi vid_pid 0x0403 0xcff8
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Kristech KT-Link
#
# http://www.kristech.eu
#
adapter driver ftdi
ftdi device_desc "KT-LINK"
ftdi vid_pid 0x0403 0xbbe2
ftdi layout_init 0x8c28 0xff3b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
ftdi layout_signal LED -data 0x8000
ftdi layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
ftdi layout_signal SWDIO_OE -ndata 0x1000
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This adapter is integrated in to LambdaConcept ECPIX-5 board:
# interface/ftdi/lambdaconcept_ecpix-5.cfg
# See schematics for the ftdi layout:
# http://docs.lambdaconcept.com/ecpix-5/_static/resources/SCH_ECPIX-5_R02.PDF
adapter driver ftdi
adapter speed 10000
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0xfff8 0xfffb
transport select jtag
@@ -0,0 +1,22 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Lisa/L
#
# http://paparazzi.enac.fr/wiki/Lisa
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on schematics and code"
echo "in ft2232.c. Please report your experience with this file to openocd-devel"
echo "mailing list, so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Lisa/L"
ftdi vid_pid 0x0403 0x6010
ftdi channel 1
ftdi layout_init 0x0008 0x180b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0040 -oe 0x0040
ftdi layout_signal LED -data 0x1800
@@ -0,0 +1,27 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Luminary Micro Stellaris LM3S9B9x Evaluation Kits
# In-Circuit Debug Interface (ICDI) Board
#
# Essentially all Luminary debug hardware is the same, (with both
# JTAG and SWD support compatible with ICDI boards. This ICDI adapter
# configuration is JTAG-only, but the same hardware handles SWD too.
#
# This is a discrete ftdi based debug board which supports ARM's
# JTAG/SWD connectors in both backwards-compatible 20-pin format and
# in the new-style compact 10-pin. There's also an 8-pin connector
# with serial port support. It's included with LM3S9B9x eval boards.
#
# http://www.luminarymicro.com/products/ek-lm3s9b90.html
# http://www.luminarymicro.com/products/ek-lm3s9b92.html
#
adapter driver ftdi
ftdi device_desc "Luminary Micro ICDI Board"
ftdi vid_pid 0x0403 0xbcda
ftdi layout_init 0x00a8 0x00eb
ftdi layout_signal nSRST -noe 0x0020
ftdi layout_signal SWD_EN -ndata 0x0080
ftdi layout_signal SWDIO_OE -data 0x0008
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Luminary Micro Stellaris LM3S811 Evaluation Kit
#
# http://www.luminarymicro.com/products/stellaris_811_evaluation_kits.html
#
# NOTE: this is only for boards *before* Rev C, which adds support
# for SWO tracing with ADBUS_6 DBG_ENn and BDBUS_4 SWO_EN signals.
# The "evb_lm3s811" layout doesn't set up those signals.
#
# Rev C boards work more like the other Stellaris eval boards. They
# need to use the "luminary_icdi" layout to work correctly.
#
adapter driver ftdi
ftdi device_desc "LM3S811 Evaluation Board"
ftdi vid_pid 0x0403 0xbcd9
ftdi layout_init 0x0088 0x008b
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
ftdi layout_signal SWD_EN -ndata 0x0080
ftdi layout_signal SWDIO_OE -data 0x0008
@@ -0,0 +1,36 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Luminary Micro Stellaris Evaluation Kits
#
# http://www.luminarymicro.com/products/evaluation_kits.html
#
# There are a number of evaluation kits for Stellaris Cortex-M3 chips.
# Currently they all bundle ftdi based debug support. When that is
# used (instead of an external adapter), use this config file in one
# of these two modes:
#
# - Eval board debug ... debug of the Stellaris chip via port A.
#
# - Other board debug ... same thing, but the board acts as a debug
# adapter for another board (using a standard ARM JTAG connector).
# The Stellaris chip stays in reset.
#
# Those support both JTAG and SWD. SWD is an ARM-only two-wire debug
# protocol; in 2009, OpenOCD does not support SWD.
#
# Port B of the ftdi chip is normally used as a serial link to the
# Stellaris chip. On most boards (but not older LM3S811 eval boards),
# when SWD is used Port B may instead be used to read low-bandwidth
# "SWO trace" data, including so-called "printf style" output from
# firmware via the ITM module as well as profile data.
#
adapter driver ftdi
ftdi device_desc "Stellaris Evaluation Board"
ftdi vid_pid 0x0403 0xbcd9
ftdi layout_init 0x00a8 0x00eb
ftdi layout_signal nSRST -noe 0x0020
ftdi layout_signal SWD_EN -ndata 0x0080
ftdi layout_signal SWDIO_OE -data 0x0008
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# DENX M53EVK
#
# http://www.denx-cs.de/?q=M53EVK
#
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi channel 0
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# MBFTDI
#
# http://www.marsohod.org/prodmbftdi
#
# Also the Marsohod2 and the Marsohod3 boards
# include a built-in MBFTDI for FPGA programming.
# See http://www.marsohod.org/prodmarsohod2
# and http://www.marsohod.org/plata-marsokhod3 for details.
#
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0008 0x000b
@@ -0,0 +1,56 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Supports SWD using the FT2232H or FT4232H minimodule.
# Each can support 2 SWD interfaces.
#
# FT2232H or FT4232H minimodule channel 0 (Channel A)
# Connector FTDI Target
# Pin Name
# --------- ------ ------
# CN2-11 VIO VDD_IO (Or connect to CN2-5 on the minimodule instead for a 3V3 interface)
# CN2-2 GND GND
# CN2-7 ADBUS0 (TCK) SWCLK
# CN2-9 ADBUS2 (TDI/TDO) SWDIO
# CN2-10 ADBUS1 (TDO/TDI) SWDIO
# CN2-14 ADBUS4 (GPIOL0) nRESET
#
# FT2232H minimodule channel 1 (Channel B)
# FTDI Target
# ---- ------
# CN2-11 - VDD_IO
# CN2-2 - GND
# CN3-26 - SWCLK
# CN3-25 - SWDIO
# CN3-24 - SWDIO
# CN3-21 - nRESET
#
# FT4232H minimodule channel 1 (Channel B)
# FTDI Target
# ---- ------
# CN2-11 - VDD_IO
# CN2-2 - GND
# CN2-18 - SWCLK
# CN2-17 - SWDIO
# CN2-20 - SWDIO
# CN2-22 - nRESET
#
adapter driver ftdi
#Select your module type and channel
#ftdi device_desc "FT2232H MiniModule"
ftdi vid_pid 0x0403 0x6010
#ftdi channel 1
#ftdi device_desc "FT4232H MiniModule"
#ftdi vid_pid 0x0403 0x6011
#ftdi channel 1
ftdi layout_init 0x0000 0x000b
ftdi layout_signal nSRST -data 0x0010 -oe 0x0010
ftdi layout_signal SWD_EN -data 0
ftdi layout_signal SWDIO_OE -data 0
transport select swd
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# FTDI MiniModule
#
# http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf
#
adapter driver ftdi
ftdi device_desc "FT2232H MiniModule"
ftdi vid_pid 0x0403 0x6010
# Every pin set as high impedance except TCK, TDI, TDO and TMS
ftdi layout_init 0x0008 0x000b
# nSRST defined on pin CN2-13 of the MiniModule (pin ADBUS5 [AD5] on the FT2232H chip)
# This choice is arbitrary. Use other GPIO pin if desired.
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
@@ -0,0 +1,17 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# https://www.scarabhardware.com/minispartan6/
# https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdf
adapter driver ftdi
# The miniSpartan6+ sadly doesn't have a custom device description, so we just
# have to hope you got it right.
#ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
# interface 1 is the uart
ftdi channel 0
# just TCK TDI TDO TMS, no reset
ftdi layout_init 0x0008 0x000b
reset_config none
# this generally works fast: the fpga can handle 30MHz, the spi flash can handle
# 54MHz with simple read, no dummy cycles, and wait-for-write-completion
adapter speed 30000
@@ -0,0 +1,34 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Infineon DAP miniWiggler V3
#
# https://www.infineon.com/cms/en/product/evaluation-boards/kit_miniwiggler_3_usb/
#
# Layout: FTDI FT2232
# ADBUS0 TCK
# ADBUS1 TDI
# ADBUS2 TDO
# ADBUS3 TMS
# ADBUS4 nOE (output enable)
# ADBUS5
# ADBUS6
# ADBUS7 Blue LED
#
# ACBUS0 nTRST
# ACBUS1 nSRST
# ACUBS2
# ACBUS3
# ACBUS4
# ACBUS5
# ACBUS6
# ACBUS7
#
adapter driver ftdi
ftdi device_desc "DAS JDS miniWiggler V3.1"
ftdi vid_pid 0x058b 0x0043
ftdi channel 0
ftdi layout_init 0x0008 0x001b
ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi layout_signal nSRST -data 0x0200 -oe 0x0200
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Openmoko USB JTAG/RS232 adapter
#
# http://wiki.openmoko.org/wiki/Debug_Board_v3
#
adapter driver ftdi
ftdi device_desc "Debug Board for Neo1973"
ftdi vid_pid 0x1457 0x5118
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
ftdi layout_signal nNOR_WP -data 0x0010 -oe 0x0010
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# NGX ARM USB JTAG
#
# http://shop.ngxtechnologies.com/product_info.php?cPath=26&products_id=30
#
echo "WARNING!"
echo "This file was not tested with real interface, but is assumed to work as this"
echo "interface uses the same layout as configs that were verified. Please report your"
echo "experience with this file to openocd-devel mailing list, so it could be marked"
echo "as working or fixed."
adapter driver ftdi
ftdi device_desc "NGX JTAG"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Olimex ARM JTAG SWD adapter
# https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/
#
transport select swd
ftdi layout_signal SWD_EN -nalias nTRST
ftdi layout_signal SWDIO_OE -alias TMS
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Olimex ARM-USB-OCD-H
#
# http://www.olimex.com/dev/arm-usb-ocd-h.html
#
adapter driver ftdi
ftdi device_desc "Olimex OpenOCD JTAG ARM-USB-OCD-H"
ftdi vid_pid 0x15ba 0x002b
ftdi layout_init 0x0908 0x0b1b
ftdi layout_signal nSRST -oe 0x0200
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal LED -data 0x0800
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Olimex ARM-USB-OCD
#
# http://www.olimex.com/dev/arm-usb-ocd.html
#
adapter driver ftdi
ftdi device_desc "Olimex OpenOCD JTAG"
ftdi vid_pid 0x15ba 0x0003
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nSRST -oe 0x0200
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal LED -data 0x0800
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Olimex ARM-USB-TINY-H
#
# http://www.olimex.com/dev/arm-usb-tiny-h.html
#
adapter driver ftdi
ftdi device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H"
ftdi vid_pid 0x15ba 0x002a
ftdi layout_init 0x0808 0x0a1b
ftdi layout_signal nSRST -oe 0x0200
ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi layout_signal LED -data 0x0800
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Olimex ARM-USB-TINY
#
# http://www.olimex.com/dev/arm-usb-tiny.html
#
adapter driver ftdi
ftdi device_desc "Olimex OpenOCD JTAG TINY"
ftdi vid_pid 0x15ba 0x0004
ftdi layout_init 0x0808 0x0a1b
ftdi layout_signal nSRST -oe 0x0200
ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi layout_signal LED -data 0x0800
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Joern Kaipf's OOCDLink
#
# http://www.joernonline.de/contrexx2/cms/index.php?page=126
#
echo "WARNING!"
echo "This file was not tested with real interface, but is assumed to work as this"
echo "interface uses the same layout as configs that were verified. Please report your"
echo "experience with this file to openocd-devel mailing list, so it could be marked"
echo "as working or fixed."
adapter driver ftdi
ftdi device_desc "OOCDLink"
ftdi vid_pid 0x0403 0xbaf8
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Opendous
#
# http://code.google.com/p/opendous/wiki/JTAG
#
# According to the website, it is similar to jtagkey, but it uses channel B
# (and it has a different pid number).
#
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi channel 1
ftdi layout_init 0x0c08 0x0f1b
ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# embedded projects openocd usb adapter v3
#
# http://shop.embedded-projects.net/index.php?module=artikel&action=artikel&id=14
#
adapter driver ftdi
ftdi device_desc "Dual RS232-HS"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hubert Hoegl's USB to JTAG
#
# http://www.hs-augsburg.de/~hhoegl/proj/usbjtag/usbjtag.html
#
adapter driver ftdi
ftdi device_desc "Dual RS232"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Marvell OpenRD
#
# http://www.marvell.com/products/embedded_processors/developer/kirkwood/openrd.jsp
#
adapter driver ftdi
ftdi device_desc "OpenRD JTAGKey FT2232D B"
ftdi vid_pid 0x0403 0x9e90
ftdi channel 0
ftdi layout_init 0x0608 0x0f1b
ftdi layout_signal nTRST -data 0x0200
ftdi layout_signal nSRST -noe 0x0400
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# http://pipistrello.saanlima.com/
# http://www.saanlima.com/download/pipistrello-v2.0/pipistrello_v2_schematic.pdf
adapter driver ftdi
ftdi device_desc "Pipistrello LX45"
ftdi vid_pid 0x0403 0x6010
# interface 1 is the uart
ftdi channel 0
# just TCK TDI TDO TMS, no reset
ftdi layout_init 0x0008 0x000b
reset_config none
# this generally works fast: the fpga can handle 30MHz, the spi flash can handle
# 54MHz with simple read, no dummy cycles, and wait-for-write-completion
adapter speed 10000
@@ -0,0 +1,36 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# PLS SPC5-UDESTK
#
# https://www.st.com/en/development-tools/spc5-udestk.html
#
# Reference the SPC56D Discovery schematics.
#
# Layout: FTDI FT2232
# ADBUS0 TCK
# ADBUS1 TDI
# ADBUS2 TDO
# ADBUS3 TMS
# ADBUS4 TMS
# ADBUS5 RTCK
# ADBUS6
# ADBUS7 LED1
#
# ACBUS0 nTRST
# ACBUS1 nSRST (external pull-down)
# ACUBS2
# ACBUS3
# ACBUS4
# ACBUS5 nSRST direction (input=L, output=H, external pull-down)
# ACBUS6 TMS direction (input=L, output=H, external pull-up)
# ACBUS7 LED2
#
adapter driver ftdi
ftdi device_desc "PLS USB/JTAG Adapter for SPC5xxx"
ftdi vid_pid 0x263d 0x4001
ftdi channel 0
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi layout_signal nSRST -ndata 0x2000 -oe 0x2000
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Redwire Redbee-Econotag
#
# http://www.redwirellc.com/store/node/1
#
# The Redbee-Econotag has an onboard FT2232H with:
# - FT2232H channel A wired to mc13224v JTAG
# - FT2232H channel B wired to mc13224v UART1
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0c08 0x0c2b
ftdi layout_signal nTRST -data 0x0800
ftdi layout_signal nSRST -data 0x0400
@@ -0,0 +1,24 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Redwire Redbee-USB
#
# http://www.redwirellc.com
#
# The Redbee-USB has an onboard FT2232H with:
# - FT2232H channel B wired to mc13224v JTAG
# - FT2232H channel A wired to mc13224v UART1
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi channel 1
ftdi layout_init 0x0c08 0x0c2b
ftdi layout_signal nTRST -data 0x0800
ftdi layout_signal nSRST -data 0x0400
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Rowley ARM SWD Adapter
# http://sites.fastspring.com/rowley/product/armswdadapter
# https://drive.google.com/file/d/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs/edit?usp=sharing
#
transport select swd
ftdi layout_signal SWD_EN -nalias nTRST
ftdi layout_signal SWDIO_OE -alias TMS
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Marvel SheevaPlug Development Kit
#
# http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp
#
adapter driver ftdi
ftdi device_desc "SheevaPlug JTAGKey FT2232D B"
ftdi vid_pid 0x9e88 0x9e8f
ftdi channel 0
ftdi layout_init 0x0608 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Xverve Signalyzer LITE (DT-USB-SLITE)
#
# http://www.signalyzer.com
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Signalyzer LITE"
ftdi vid_pid 0x0403 0xbca1
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Xverve Signalyzer Tool (DT-USB-ST)
#
# http://www.signalyzer.com
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on code in ft2232.c."
echo "Please report your experience with this file to openocd-devel mailing list,"
echo "so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Signalyzer"
ftdi vid_pid 0x0403 0xbca0
ftdi layout_init 0x0008 0x000b
ftdi layout_signal nTRST -data 0x0010 -oe 0x0010
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Interface file for BL702-based SIPEED RV Debugger
#
adapter driver ftdi
adapter speed 6000
ftdi device_desc "JTAG Debugger"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0008 0x001b
ftdi layout_signal nSRST -oe 0x0020 -data 0x0020
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Sipeed USB-JTAG/TTL RISC-V Debugger
#
# https://www.seeedstudio.com/Sipeed-USB-JTAG-TTL-RISC-V-Debugger-p-2910.html
#
adapter driver ftdi
ftdi device_desc "Dual RS232"
ftdi vid_pid 0x0403 0x6010
ftdi channel 0
# Every pin set as high impedance except TCK, TDI, TDO, TMS and RST
ftdi layout_init 0x0028 0x002b
transport select jtag
# nSRST defined on pin RST of the Debugger (pin ADBUS5 [AD5] on the FT2232D chip)
ftdi layout_signal nSRST -data 0x0020 -oe 0x0020
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020 Synopsys, Inc.
# Anton Kolesov <anton.kolesov@synopsys.com>
# Didin Evgeniy <didin@synopsys.com>
#
# Synopsys SDP Mainboard has embdded FT2232 chip, which is similar to Digilent
# HS-1, except that it uses channel B for JTAG communication, instead of
# channel A.
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0088 0x008b
ftdi channel 1
@@ -0,0 +1,41 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Steppenprobe
# https://github.com/diegoherranz/steppenprobe
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
# Initial Layout
ftdi layout_init 0x0058 0x99fb
# Signal Data Direction Notes
# TCK 0 1 (out)
# TDI 0 1 (out)
# TDO 0 0 (in)
# TMS 1 1 (out) JTAG IEEE std recommendation
# LED 1 1 (out) LED off
# SWD_EN 0 1 (out) OpenOCD sets this high for SWD
# SWDIO_OE 1 1 (out) Ext. buffer tristated
# SRST 0 1 (out) Translates to nSRST=Z
# Unused 0 1 (out)
# GPIO_A 0 0 (in)
# GPIO_B 0 0 (in)
# Unused 0 1 (out)
# Unused 0 1 (out)
# GPIO_C 0 0 (in)
# GPIO_D 0 0 (in)
# Unused 0 1 (out)
# Signals definition
ftdi layout_signal LED -ndata 0x0010
ftdi layout_signal SWD_EN -data 0x0020
ftdi layout_signal SWDIO_OE -ndata 0x0040
ftdi layout_signal nSRST -oe 0x0080
ftdi layout_signal GPIO_A -data 0x0200 -oe 0x0200 -input 0x0200
ftdi layout_signal GPIO_B -data 0x0400 -oe 0x0400 -input 0x0400
ftdi layout_signal GPIO_C -data 0x2000 -oe 0x2000 -input 0x2000
ftdi layout_signal GPIO_D -data 0x4000 -oe 0x4000 -input 0x4000
@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Hitex STM32-PerformanceStick
#
# http://www.hitex.com/index.php?id=340
#
adapter driver ftdi
ftdi device_desc "STM32-PerformanceStick"
ftdi vid_pid 0x0640 0x002d
ftdi layout_init 0x0388 0x038b
ftdi layout_signal nTRST -data 0x0100
ftdi layout_signal nSRST -data 0x0080 -noe 0x200
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Connect TDI to SWDIO via a suitable series resistor (220-470 Ohm or
# so depending on the drive capability of the target and adapter);
# connect TDO directly to SWDIO.
#
# You also need to have reliable GND connection between the target and
# adapter. Vref of the adapter should be supplied with a voltage equal
# to the target's (preferably connect it to Vcc). You can also
# optionally connect nSRST. Leave everything else unconnected.
#
# FTDI Target
# ---- ------
# 1 - Vref ----------------- Vcc
# 3 - nTRST -
# 4 - GND ----------------- GND
# 5 - TDI ---/\470 Ohm/\--- SWDIO
# 7 - TMS -
# 9 - TCK ----------------- SWCLK
# 11 - RTCK -
# 13 - TDO ----------------- SWDIO
# 15 - nSRST - - - - - - - - - nRESET
#
transport select swd
ftdi layout_signal SWD_EN -data 0
@@ -0,0 +1,17 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This is an FTDI-based debugging solution as found on some TI boards,
# e.g. CC3200 LaunchPad.
#
# The schematics are identical to luminary-icdi (including SWD
# support) but the USB IDs are different.
#
adapter driver ftdi
ftdi vid_pid 0x0451 0xc32a
ftdi layout_init 0x00a8 0x00eb
ftdi layout_signal nSRST -noe 0x0020
ftdi layout_signal SWD_EN -ndata 0x0080
ftdi layout_signal SWDIO_OE -data 0x0008
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Tigard: An FTDI FT2232H-based multi-protocol tool for hardware hacking.
# https://github.com/tigard-tools/tigard
adapter driver ftdi
ftdi device_desc "Tigard V1.1"
ftdi vid_pid 0x0403 0x6010
ftdi channel 1
ftdi layout_init 0x0038 0x003b
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -data 0x0020
# This board doesn't support open-drain reset modes since its output buffer is
# always enabled.
reset_config srst_push_pull trst_push_pull
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# TIAO USB Multi-Protocol Adapter (TUMPA) Lite
#
# http://www.diygadget.com/tiao-usb-multi-protocol-adapter-lite-jtag-spi-i2c-serial.html
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x8a99
ftdi layout_init 0x0038 0x087b
ftdi layout_signal nTRST -data 0x0020 -oe 0x0020
ftdi layout_signal nSRST -data 0x0010 -oe 0x0010
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# TIAO USB Multi-Protocol Adapter (TUMPA)
#
# http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x8a98 0x0403 0x6010
ftdi layout_init 0x0038 0x087b
ftdi layout_signal nTRST -data 0x0020
ftdi layout_signal nSRST -data 0x0010
reset_config srst_push_pull
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# egnite Turtelizer 2 rev B (with SRST only)
#
# http://www.ethernut.de/en/hardware/turtelizer/index.html
#
echo "WARNING!"
echo "This file was not tested with real interface, it is based on schematics and code"
echo "in ft2232.c. Please report your experience with this file to openocd-devel"
echo "mailing list, so it could be marked as working or fixed."
adapter driver ftdi
ftdi device_desc "Turtelizer JTAG/RS232 Adapter"
ftdi vid_pid 0x0403 0xbdc8
ftdi layout_init 0x0008 0x0c5b
ftdi layout_signal nSRST -oe 0x0040
ftdi layout_signal LED -data 0x0c00
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# egnite Turtelizer 2 revC (with TRST and SRST)
#
# http://www.ethernut.de/en/hardware/turtelizer/index.html
#
adapter driver ftdi
ftdi device_desc "Turtelizer JTAG/RS232 Adapter"
ftdi vid_pid 0x0403 0xbdc8
ftdi layout_init 0x0008 0x0c7b
ftdi layout_signal nTRST -oe 0x0020
ftdi layout_signal nSRST -oe 0x0040
ftdi layout_signal LED -ndata 0x0c00
@@ -0,0 +1,37 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# FTDI UM232H as a JTAG interface
#
# http://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#UM232H
#
# This should also work with a UM232H-B, but that has not been tested.
# Note that UM232H and UM232H-B are 3.3V only.
#
adapter driver ftdi
#ftdi device_desc "UM232H"
ftdi vid_pid 0x0403 0x6014
ftdi layout_init 0xfff8 0xfffb
ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
ftdi layout_signal nSRST -data 0x0200 -oe 0x0200
# UM232H FT232H JTAG
# Name Pin Name Func
# AD0 J2-6 ADBUS0 TCK
# AD1 J2-7 ADBUS1 TDI
# AD2 J2-8 ADBUS2 TDO
# AD3 J2-9 ADBUS3 TMS
# AD4 J2-10 ADBUS4 (GPIOL0)
# AD5 J2-11 ADBUS5 (GPIOL1)
# AD6 J2-12 ADBUS6 (GPIOL2)
# AD7 J2-13 ADBUS7 (GPIOL3)
# AD0 J1-14 ACBUS0 /TRST
# AD1 J1-13 ACBUS1 /SRST
# AD2 J1-12 ACBUS2 (GPIOH2)
# AD3 J1-11 ACBUS3 (GPIOH3)
# AD4 J1-10 ACBUS4 (GPIOH4)
# AD5 J1-9 ACBUS5 (GPIOH5)
# AD6 J1-8 ACBUS6 (GPIOH6)
# AD7 J1-7 ACBUS7 (GPIOH7)
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Voipac VPACLink
#
# http://voipac.com/27M-JTG-000
#
echo "WARNING!"
echo "This file was not tested with real interface, but is assumed to work as this"
echo "interface uses the same layout as configs that were verified. Please report your"
echo "experience with this file to openocd-devel mailing list, so it could be marked"
echo "as working or fixed."
adapter driver ftdi
ftdi device_desc "VPACLink"
ftdi vid_pid 0x0403 0x6010
ftdi layout_init 0x0508 0x0f1b
ftdi layout_signal nTRST -data 0x0200 -noe 0x0100
ftdi layout_signal nSRST -data 0x0800 -noe 0x0400
@@ -0,0 +1,60 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Texas Instruments XDS100v2
#
# http://processors.wiki.ti.com/index.php/XDS100#XDS100v2_Features
#
# Detailed documentation is available only as CPLD verilog source code
# to the registered TI users.
#
adapter driver ftdi
ftdi vid_pid 0x0403 0xa6d0 0x0403 0x6010
ftdi layout_init 0x0038 0x597b
# 8000 z - unused
# 4000 0 > CPLD loopback (all target side pins high-Z)
# 2000 z < !( cable connected ) (open drain on CPLD side for $reasons)
# 1000 0 > EMU1_oe
#
# 800 0 > PWR_RST = clear power-loss flag on rising edge
# 400 z < !( power-loss flag )
# 200 z < nSRST
# 100 0 > nSRST_oe
#
# 80 z < RTCK
# 40 0 > EMU0_oe
# 20 1 > EMU_EN
# 10 1 > nTRST
#
# 8 1 > TMS
# 4 z < TDO
# 2 0 > TDI
# 1 0 > TCK
#
# As long as the power-loss flag is set, all target-side pins are
# high-Z except the EMU-pins for which the opposite holds unless
# EMU_EN is high.
#
# To use wait-in-reset, drive EMU0 low at power-on reset. If the
# target normally reuses EMU0 for other purposes, clear EMU_EN to
# keep the EMU pins high-Z until the target is power-cycled.
#
# The LED only turns off at USB suspend, which is also the only way to
# set the power-loss flag manually. (Can be done in software e.g. by
# changing the USB configuration to zero.)
#
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -oe 0x0100
ftdi layout_signal EMU_EN -data 0x0020
ftdi layout_signal EMU0 -oe 0x0040
ftdi layout_signal EMU1 -oe 0x1000
ftdi layout_signal PWR_RST -data 0x0800
ftdi layout_signal LOOPBACK -data 0x4000
echo "\nInfo : to use this adapter you MUST add ``init; ftdi set_signal PWR_RST 1; jtag arp_init'' to the end of your config file!\n"
# note: rising edge on PWR_RST is also needed after power-cycling the
# target
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Texas Instruments XDS100 ver 3.0
#
# http://processors.wiki.ti.com/index.php/XDS100
#
# Version 3.0 is the same as 2.0 as far as OpenOCD is concerned
source [find interface/ftdi/xds100v2.cfg]
# The USB ids are different.
ftdi vid_pid 0x0403 0xa6d1
@@ -0,0 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Xilinx KC705 / ML605 with Xtensa daughtercard; onboard USB/FT2232
#
adapter driver ftdi
ftdi vid_pid 0x0403 0x6010
# Specify "adapter serial <identifier>" here as needed
ftdi layout_init 0x0010 0x007b
ftdi layout_signal nTRST -data 0x0010
ftdi layout_signal nSRST -ndata 0x0020