tcl/interface: add SPDX tag
[openocd.git] / tcl / interface / ftdi / minimodule-swd.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Supports SWD using the FT2232H or FT4232H minimodule.
5 # Each can support 2 SWD interfaces.
6 #
7 # FT2232H or FT4232H minimodule channel 0 (Channel A)
8 # Connector FTDI Target
9 # Pin Name
10 # --------- ------ ------
11 # CN2-11 VIO VDD_IO (Or connect to CN2-5 on the minimodule instead for a 3V3 interface)
12 # CN2-2 GND GND
13 # CN2-7 ADBUS0 (TCK) SWCLK
14 # CN2-9 ADBUS2 (TDI/TDO) SWDIO
15 # CN2-10 ADBUS1 (TDO/TDI) SWDIO
16 # CN2-14 ADBUS4 (GPIOL0) nRESET
17 #
18 # FT2232H minimodule channel 1 (Channel B)
19 # FTDI Target
20 # ---- ------
21 # CN2-11 - VDD_IO
22 # CN2-2 - GND
23 # CN3-26 - SWCLK
24 # CN3-25 - SWDIO
25 # CN3-24 - SWDIO
26 # CN3-21 - nRESET
27 #
28 # FT4232H minimodule channel 1 (Channel B)
29 # FTDI Target
30 # ---- ------
31 # CN2-11 - VDD_IO
32 # CN2-2 - GND
33 # CN2-18 - SWCLK
34 # CN2-17 - SWDIO
35 # CN2-20 - SWDIO
36 # CN2-22 - nRESET
37 #
38
39 adapter driver ftdi
40
41 #Select your module type and channel
42
43 #ftdi device_desc "FT2232H MiniModule"
44 ftdi vid_pid 0x0403 0x6010
45 #ftdi channel 1
46
47 #ftdi device_desc "FT4232H MiniModule"
48 #ftdi vid_pid 0x0403 0x6011
49 #ftdi channel 1
50
51 ftdi layout_init 0x0000 0x000b
52 ftdi layout_signal nSRST -data 0x0010 -oe 0x0010
53 ftdi layout_signal SWD_EN -data 0
54 ftdi layout_signal SWDIO_OE -data 0
55
56 transport select swd

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)