6bec2b58c6d5ef037e54cc261f887a1e1f25c48c
[openocd.git] / tcl / target / stm32lx_stlink.cfg
1 #
2 # STM32lx stlink pseudo target
3 #
4
5 if { [info exists CHIPNAME] == 0 } {
6 set CHIPNAME stm32lx
7 }
8
9 if { [info exists CPUTAPID] == 0 } {
10 set CPUTAPID 0x2ba01477
11 }
12
13 if { [info exists WORKAREASIZE] == 0 } {
14 set WORKAREASIZE 0x2800
15 }
16
17 source [find target/stm32_stlink.cfg]
18
19 set _FLASHNAME $_CHIPNAME.flash
20 flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME
21
22 proc stm32l_enable_HSI {} {
23 # Enable HSI as clock source
24 echo "STM32L: Enabling HSI"
25
26 # Set HSION in RCC_CR
27 mww 0x40023800 0x00000101
28
29 # Set HSI as SYSCLK
30 mww 0x40023808 0x00000001
31 }
32
33 $_TARGETNAME configure -event reset-init {
34 stm32l_enable_HSI
35 }

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)