nrf51: Add UICR writing support
[openocd.git] / tcl / target / imx.cfg
1 # utility fn's for Freescale i.MX series
2
3 global TARGETNAME
4 set TARGETNAME $_TARGETNAME
5
6 # rewrite commands of the form below to arm11 mcr...
7 # Data.Set c15:0x042f %long 0x40000015
8 proc setc15 {regs value} {
9 global TARGETNAME
10
11 echo [format "set p15 0x%04x, 0x%08x" $regs $value]
12
13 arm mcr 15 [expr ($regs>>12)&0x7] [expr ($regs>>0)&0xf] [expr ($regs>>4)&0xf] [expr ($regs>>8)&0x7] $value
14 }
15
16
17 proc imx3x_reset {} {
18 # this reset script comes from the Freescale PDK
19 #
20 # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX35PDK
21
22 echo "Target Setup: initialize DRAM controller and peripherals"
23
24 # Data.Set c15:0x01 %long 0x00050078
25 setc15 0x01 0x00050078
26
27 echo "configuring CP15 for enabling the peripheral bus"
28 # Data.Set c15:0x042f %long 0x40000015
29 setc15 0x042f 0x40000015
30 }

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)