tcl/target: add SPDX tag
[openocd.git] / tcl / target / atheros_ar9344.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $_CHIPNAME
5 } else {
6 set _CHIPNAME ar9344
7 }
8
9 if { [info exists CPUTAPID] } {
10 set _CPUTAPID $CPUTAPID
11 } else {
12 set _CPUTAPID 0x00000001
13 }
14
15 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
16
17 set _TARGETNAME $_CHIPNAME.cpu
18 target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME
19
20 proc test_ar9344_uart0_tx {} {
21 echo "configuring uart0.."
22 mww 0xb802000c 0x87
23 mww 0xb8020000 0x15
24 mww 0xb8020004 0
25 mww 0xb802000c 7
26 mww 0xb8020004 0
27
28 echo "send message: hallo world"
29 mww 0xb8020000 0x68
30 mww 0xb8020000 0x65
31 mww 0xb8020000 0x6c
32 mww 0xb8020000 0x6c
33 mww 0xb8020000 0x6f
34 mww 0xb8020000 0x20
35 mww 0xb8020000 0x77
36 mww 0xb8020000 0x6f
37 mww 0xb8020000 0x72
38 mww 0xb8020000 0x6c
39 mww 0xb8020000 0x64
40 mww 0xb8020000 0x0a
41 }

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)