jtag newtap change & huge manual update
[openocd.git] / src / target / target / imx31.cfg
1 # imx31 config
2 #
3 # NB! Does not work yet. Work in progress
4
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
7 } else {
8 set _CHIPNAME imx31
9 }
10
11 if { [info exists ENDIAN] } {
12 set _ENDIAN $ENDIAN
13 } else {
14 set _ENDIAN little
15 }
16
17 if { [info exists CPUTAPID ] } {
18 set _CPUTAPID $CPUTAPID
19 } else {
20 # force an error till we get a good number
21 set _CPUTAPID 0xffffffff
22 }
23
24 #========================================
25 # The "system jtag controller"
26 # IMX31 reference manual, page 6-28 - figure 6-14
27 if { [info exists SJCTAPID ] } {
28 set _SJCTAPID $SJCTAPID
29 } else {
30 set _SJCTAPID 0xffffffff
31 }
32 jtag newtap $_CHIPNAME sjc -irlen 4 -ircapture 00 irmask 0x0 -expected-id $_SJCTAPID
33
34 # The "SDMA" - <S>mart <DMA> controller debug tap
35 # Based on some IO pins - this can be disabled & removed
36 # See diagram: 6-14
37 # SIGNAL NAME:
38 # SJC_MOD - controls multiplexer - disables ARM1136
39 # SDMA_BYPASS - disables SDMA -
40 #
41 if { [info exists SDMATAPID ] } {
42 set _SDMATAPID $SDMATAPID
43 } else {
44 set _SDMATAPID 0xffffffff
45 }
46 # Per section 40.17.1, table 40-85 the IR register is 4 bits
47 # But this conflicts with Diagram 6-13, "3bits ir and drs"
48 jtag newtap $_CHIPNAME smda -irlen 4 -ircapture 0xe -irmask 0xf -expected-id $_SJCTAPID
49
50 # The ARM11 core tap
51 if { [info exists CPUTAPID ] } {
52 set _CPUTAPID $CPUTAPID
53 } else {
54 set _CPUTAPID 0xffffffff
55 }
56 # Per ARM: DDI0211J_arm1136_r1p5_trm.pdf - the ARM 1136 as a 5 bit IR register
57 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1e irmask 0x1f -expected-id $_SJCTAPID
58
59
60 jtag_nsrst_delay 500
61 jtag_ntrst_delay 500
62
63 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
64 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
65

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)