target: rename cortex_m3 to cortex_m
[openocd.git] / tcl / target / pxa3xx.cfg
1 # Marvell PXA3xx
2
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
5 } else {
6 set _CHIPNAME pxa3xx
7 }
8
9 if { [info exists ENDIAN] } {
10 set _ENDIAN $ENDIAN
11 } else {
12 set _ENDIAN little
13 }
14
15 # IDs for all currently known PXA3xx chips
16 if { [info exists CPUTAPID_PXA30X_A0] } {
17 set _CPUTAPID_PXA30X_A0 $CPUTAPID_PXA30X_A0
18 } else {
19 set _CPUTAPID_PXA30X_A0 0x0E648013
20 }
21 if { [info exists CPUTAPID_PXA30X_A1] } {
22 set _CPUTAPID_PXA30X_A1 $CPUTAPID_PXA30X_A1
23 } else {
24 set _CPUTAPID_PXA30X_A1 0x1E648013
25 }
26 if { [info exists CPUTAPID_PXA31X_A0] } {
27 set _CPUTAPID_PXA31X_A0 $CPUTAPID_PXA31X_A0
28 } else {
29 set _CPUTAPID_PXA31X_A0 0x0E649013
30 }
31 if { [info exists CPUTAPID_PXA31X_A1] } {
32 set _CPUTAPID_PXA31X_A1 $CPUTAPID_PXA31X_A1
33 } else {
34 set _CPUTAPID_PXA31X_A1 0x1E649013
35 }
36 if { [info exists CPUTAPID_PXA31X_A2] } {
37 set _CPUTAPID_PXA31X_A2 $CPUTAPID_PXA31X_A2
38 } else {
39 set _CPUTAPID_PXA31X_A2 0x2E649013
40 }
41 if { [info exists CPUTAPID_PXA31X_B0] } {
42 set _CPUTAPID_PXA31X_B0 $CPUTAPID_PXA31X_B0
43 } else {
44 set _CPUTAPID_PXA31X_B0 0x3E649013
45 }
46 if { [info exists CPUTAPID_PXA32X_B1] } {
47 set _CPUTAPID_PXA32X_B1 $CPUTAPID_PXA32X_B1
48 } else {
49 set _CPUTAPID_PXA32X_B1 0x5E642013
50 }
51 if { [info exists CPUTAPID_PXA32X_B2] } {
52 set _CPUTAPID_PXA32X_B2 $CPUTAPID_PXA32X_B2
53 } else {
54 set _CPUTAPID_PXA32X_B2 0x6E642013
55 }
56 if { [info exists CPUTAPID_PXA32X_C0] } {
57 set _CPUTAPID_PXA32X_C0 $CPUTAPID_PXA32X_C0
58 } else {
59 set _CPUTAPID_PXA32X_C0 0x7E642013
60 }
61
62 # set adapter_nsrst_delay to the delay introduced by your reset circuit
63 # the rest of the needed delays are built into the openocd program
64 adapter_nsrst_delay 260
65
66 # set the jtag_ntrst_delay to the delay introduced by a reset circuit
67 # the rest of the needed delays are built into the openocd program
68 jtag_ntrst_delay 250
69
70 set _TARGETNAME $_CHIPNAME.cpu
71 jtag newtap $_CHIPNAME cpu -irlen 11 -ircapture 0x1 -irmask 0x7f \
72 -expected-id $_CPUTAPID_PXA30X_A0 \
73 -expected-id $_CPUTAPID_PXA30X_A1 \
74 -expected-id $_CPUTAPID_PXA31X_A0 \
75 -expected-id $_CPUTAPID_PXA31X_A1 \
76 -expected-id $_CPUTAPID_PXA31X_A2 \
77 -expected-id $_CPUTAPID_PXA31X_B0 \
78 -expected-id $_CPUTAPID_PXA32X_B1 \
79 -expected-id $_CPUTAPID_PXA32X_B2 \
80 -expected-id $_CPUTAPID_PXA32X_C0
81
82 target create $_TARGETNAME xscale -endian $_ENDIAN \
83 -chain-position $_TARGETNAME -variant pxa3xx
84
85 # work area in internal RAM.
86 $_TARGETNAME configure -work-area-phys 0x5c030000 -work-area-size 0x10000

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)