target/imx6ul: Initial support
[openocd.git] / tcl / target / at91rm9200.cfg
1 # Atmel AT91rm9200
2 # http://atmel.com/products/at91/
3
4 if { [info exists CHIPNAME] } {
5 set _CHIPNAME $CHIPNAME
6 } else {
7 set _CHIPNAME at91rm9200
8 }
9
10 if { [info exists ENDIAN] } {
11 set _ENDIAN $ENDIAN
12 } else {
13 set _ENDIAN little
14 }
15
16 if { [info exists CPUTAPID] } {
17 set _CPUTAPID $CPUTAPID
18 } else {
19 set _CPUTAPID 0x05b0203f
20 }
21
22 # Never allow the following!
23 if { $_CPUTAPID == 0x15b0203f } {
24 echo "-------------------------------------------------------"
25 echo "- ERROR: -"
26 echo "- ERROR: TapID 0x15b0203f is wrong for at91rm9200 -"
27 echo "- ERROR: The chip/board has a JTAG select pin/jumper -"
28 echo "- ERROR: -"
29 echo "- ERROR: In one position (0x05b0203f) it selects the -"
30 echo "- ERROR: ARM CPU, in the other position (0x1b0203f) -"
31 echo "- ERROR: it selects boundry-scan not the ARM -"
32 echo "- ERROR: -"
33 echo "-------------------------------------------------------"
34 }
35
36 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
37
38 # Create the GDB Target.
39 set _TARGETNAME $_CHIPNAME.cpu
40 target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
41
42 # AT91RM9200 has a 16K block of sram @ 0x0020.0000
43 $_TARGETNAME configure -work-area-phys 0x00200000 \
44 -work-area-size 0x4000 -work-area-backup 1
45
46 # This chip has a DCC ... use it
47 arm7_9 dcc_downloads enable

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)