tcl/board: add SPDX tag
[openocd.git] / tcl / board / arm_musca_a.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Configuration script for ARM Musca-A development board
5 #
6 # For now we do not support Musca A flash programming using OpenOCD. However, a
7 # work area is configured for flash programming speed up.
8 #
9 # GDB considers all memory as RAM unless target supplies a memory map.
10 # OpenOCD will only send memory map if flash banks are configured. Otherwise,
11 # configure GDB after connection by issuing following commands:
12 # (gdb) mem 0x10200000 0x109FFFFF ro
13 # (gdb) mem 0x00200000 0x009FFFFF ro
14 # (gdb) set mem inaccessible-by-default off
15
16 # ARM Musca A board supports both JTAG and SWD transports.
17 source [find target/swj-dp.tcl]
18
19 # set a safe JTAG clock speed, can be overridden
20 adapter speed 1000
21
22 global _CHIPNAME
23 if { [info exists CHIPNAME] } {
24 set _CHIPNAME $CHIPNAME
25 } else {
26 set _CHIPNAME MUSCA_A
27 }
28
29 if { [info exists CPUTAPID] } {
30 set _CPUTAPID $CPUTAPID
31 } else {
32 set _CPUTAPID 0x6ba00477
33 }
34
35 # Enable CPU1 debugging as a separate GDB target
36 set _ENABLE_CPU1 1
37
38 # Musca A1 has 32KB SRAM banks. Override default work-area-size to 8KB per CPU
39 set WORKAREASIZE_CPU0 0x2000
40 set WORKAREASIZE_CPU1 0x2000
41
42 # Set SRAM bank 1 to be used for work area. Override here if needed.
43 set WORKAREAADDR_CPU0 0x30008000
44 set WORKAREAADDR_CPU1 0x3000A000
45
46 source [find target/arm_corelink_sse200.cfg]

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)