tcl/board: frdm kinetis boards have SRST connected
[openocd.git] / tcl / board / str910-eval.cfg
1 # str910-eval eval board
2 #
3 # Need reset scripts
4 reset_config trst_and_srst
5
6 # FIXME use some standard target config, maybe create one from this
7 #
8 # source [find target/...cfg]
9
10 if { [info exists CHIPNAME] } {
11 set _CHIPNAME $CHIPNAME
12 } else {
13 set _CHIPNAME str912
14 }
15
16 if { [info exists ENDIAN] } {
17 set _ENDIAN $ENDIAN
18 } else {
19 set _ENDIAN little
20 }
21
22 if { [info exists FLASHTAPID] } {
23 set _FLASHTAPID $FLASHTAPID
24 } else {
25 set _FLASHTAPID 0x04570041
26 }
27 jtag newtap $_CHIPNAME flash -irlen 8 -ircapture 0x1 -irmask 0x1 -expected-id $_FLASHTAPID
28
29
30 if { [info exists CPUTAPID] } {
31 set _CPUTAPID $CPUTAPID
32 } else {
33 set _CPUTAPID 0x25966041
34 }
35 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
36
37 if { [info exists BSTAPID] } {
38 set _BSTAPID $BSTAPID
39 } else {
40 set _BSTAPID 0x1457f041
41 }
42 jtag newtap $_CHIPNAME bs -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_BSTAPID
43
44 set _TARGETNAME $_CHIPNAME.cpu
45 target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME
46 $_TARGETNAME configure -work-area-phys 0x50000000 -work-area-size 16384 -work-area-backup 1
47
48 $_TARGETNAME configure -event reset-init {
49 # We can increase speed now that we know the target is halted.
50 #jtag_rclk 3000
51
52 # -- Enable 96K RAM
53 # PFQBC enabled / DTCM & AHB wait-states disabled
54 mww 0x5C002034 0x0191
55
56 str9x flash_config 0 4 2 0 0x80000
57 flash protect 0 0 7 off
58 }
59
60 #flash bank str9x <base> <size> 0 0 <target#> <variant>
61 set _FLASHNAME $_CHIPNAME.flash0
62 flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 0
63 set _FLASHNAME $_CHIPNAME.flash1
64 flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 0

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)