tcl/interface/ftdi/xdsv2: fix and clarify EMU* signals
[openocd.git] / tcl / interface / ftdi / xds100v2.cfg
1 #
2 # Texas Instruments XDS100v2
3 #
4 # http://processors.wiki.ti.com/index.php/XDS100#XDS100v2_Features
5 #
6 # Detailed documentation is available only as CPLD verilog source code
7 # to the registered TI users.
8 #
9
10 interface ftdi
11 ftdi_vid_pid 0x0403 0xa6d0 0x0403 0x6010
12
13 ftdi_layout_init 0x0038 0x597b
14
15 # 8000 z - unused
16 # 4000 0 > CPLD loopback (all target side pins high-Z)
17 # 2000 z < !( cable connected ) (open drain on CPLD side for $reasons)
18 # 1000 0 > EMU1_oe
19 #
20 # 800 0 > PWR_RST = clear power-loss flag on rising edge
21 # 400 z < !( power-loss flag )
22 # 200 z < nSRST
23 # 100 0 > nSRST_oe
24 #
25 # 80 z < RTCK
26 # 40 0 > EMU0_oe
27 # 20 1 > EMU_EN
28 # 10 1 > nTRST
29 #
30 # 8 1 > TMS
31 # 4 z < TDO
32 # 2 0 > TDI
33 # 1 0 > TCK
34 #
35 # As long as the power-loss flag is set, all target-side pins are
36 # high-Z except the EMU-pins for which the opposite holds unless
37 # EMU_EN is high.
38 #
39 # To use wait-in-reset, drive EMU0 low at power-on reset. If the
40 # target normally reuses EMU0 for other purposes, clear EMU_EN to
41 # keep the EMU pins high-Z until the target is power-cycled.
42 #
43 # The LED only turns off at USB suspend, which is also the only way to
44 # set the power-loss flag manually. (Can be done in software e.g. by
45 # changing the USB configuration to zero.)
46 #
47
48 ftdi_layout_signal nTRST -data 0x0010
49 ftdi_layout_signal nSRST -oe 0x0100
50 ftdi_layout_signal EMU_EN -data 0x0020
51 ftdi_layout_signal EMU0 -oe 0x0040
52 ftdi_layout_signal EMU1 -oe 0x1000
53 ftdi_layout_signal PWR_RST -data 0x0800
54 ftdi_layout_signal LOOPBACK -data 0x4000
55
56 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"
57 # note: rising edge on PWR_RST is also needed after power-cycling the
58 # target

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)