tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / dp_busblaster_kt-link.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Dangerous Prototypes - Bus Blaster (with KT-Link buffer)
5 #
6 # The Bus Blaster has a configurable buffer between the FTDI FT2232H
7 # and the JTAG header which allows it to emulate various debugger
8 # types. This config works with KT-Link compatible implementation from
9 # https://github.com/bharrisau/busblaster and is SWD-enabled.
10 #
11 # http://dangerousprototypes.com/docs/Bus_Blaster
12 #
13
14 adapter driver ftdi
15 ftdi device_desc "Dual RS232-HS"
16 ftdi vid_pid 0x0403 0x6010
17
18 ftdi layout_init 0x8c28 0xff3b
19 ftdi layout_signal nTRST -data 0x0100 -noe 0x0400
20 ftdi layout_signal nSRST -data 0x0200 -noe 0x0800
21 ftdi layout_signal LED -ndata 0x8000
22 ftdi layout_signal SWD_EN -ndata 0x0020 -oe 0x2000
23 ftdi layout_signal SWDIO_OE -ndata 0x1000