tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / luminary.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Luminary Micro Stellaris Evaluation Kits
5 #
6 # http://www.luminarymicro.com/products/evaluation_kits.html
7 #
8 # There are a number of evaluation kits for Stellaris Cortex-M3 chips.
9 # Currently they all bundle ftdi based debug support.  When that is
10 # used (instead of an external adapter), use this config file in one
11 # of these two modes:
12 #
13 # - Eval board debug ... debug of the Stellaris chip via port A.
14 #
15 # - Other board debug ... same thing, but the board acts as a debug
16 #   adapter for another board (using a standard ARM JTAG connector).
17 #   The Stellaris chip stays in reset.
18 #
19 # Those support both JTAG and SWD.  SWD is an ARM-only two-wire debug
20 # protocol; in 2009, OpenOCD does not support SWD.
21 #
22 # Port B of the ftdi chip is normally used as a serial link to the
23 # Stellaris chip.  On most boards (but not older LM3S811 eval boards),
24 # when SWD is used Port B may instead be used to read low-bandwidth
25 # "SWO trace" data, including so-called "printf style" output from
26 # firmware via the ITM module as well as profile data.
27 #
28
29 adapter driver ftdi
30 ftdi device_desc "Stellaris Evaluation Board"
31 ftdi vid_pid 0x0403 0xbcd9
32
33 ftdi layout_init 0x00a8 0x00eb
34 ftdi layout_signal nSRST -noe 0x0020
35 ftdi layout_signal SWD_EN -ndata 0x0080
36 ftdi layout_signal SWDIO_OE -data 0x0008