summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
f545044)
instead of overwriting Reset settings, let's
read-modify-write RCC registers.
Change-Id: I21b7e26e6007d3c3d73803c681c980c6947f5910
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Reviewed-on: http://openocd.zylin.com/3601
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
echo "STM32L0: Enabling HSI16"
# Set HSI16ON in RCC_CR (leave MSI enabled)
echo "STM32L0: Enabling HSI16"
# Set HSI16ON in RCC_CR (leave MSI enabled)
- mww 0x40021000 0x00000101
+ mmw 0x40021000 0x00000101 0
# Set HSI16 as SYSCLK (RCC_CFGR)
# Set HSI16 as SYSCLK (RCC_CFGR)
- mww 0x4002100c 0x00000001
+ mmw 0x4002100c 0x00000001 0
+
+ # Wait until System clock switches to HSI16
+ while { ([ mrw 0x4002100c ] & 0x0c) != 0x04 } { }
# Increase speed
adapter_khz 2500
# Increase speed
adapter_khz 2500
echo "STM32L: Enabling HSI"
# Set HSION in RCC_CR
echo "STM32L: Enabling HSI"
# Set HSION in RCC_CR
- mww 0x40023800 0x00000101
+ mmw 0x40023800 0x00000101 0
- mww 0x40023808 0x00000001
+ mmw 0x40023808 0x00000001 0
# Increase JTAG speed
adapter_khz 2000
# Increase JTAG speed
adapter_khz 2000
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)