target/xtensa: avoid IHI for writes to non-executable memory
[openocd.git] / contrib / loaders / flash / kinetis_ke / kinetis_ke_watchdog.s
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4 * Copyright (C) 2015 by Ivan Meleca *
5 * ivan@artekit.eu *
6 ***************************************************************************/
7
8 .text
9 .cpu cortex-m0plus
10 .code 16
11 .thumb_func
12
13 .align 2
14
15 ldr r3, wdog_cs1
16 mov r2, #127
17 ldrb r5, [r3]
18 ldrb r4, [r3, #1]
19 and r2, r5
20 ldr r5, unlock1
21 ldrh r0, [r3, #4]
22 ldrh r1, [r3, #6]
23 strh r5, [r3, #2]
24 ldr r5, unlock2
25 strh r5, [r3, #2]
26 strb r4, [r3, #1]
27 strh r0, [r3, #4]
28 strh r1, [r3, #6]
29 strb r2, [r3]
30 bkpt #0
31
32 .align 2
33
34 wdog_cs1:
35 .word 0x40052000 // Watchdog Control and Status Register 1
36 unlock1:
37 .word 0x20C5 // 1st unlock word
38 unlock2:
39 .word 0x28D9 // 2nd unlock word

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)