aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJuha Niskanen <juha.niskanen@haltian.com>2017-05-04 13:43:08 +0300
committerFreddie Chopin <freddie.chopin@gmail.com>2017-05-08 18:07:41 +0100
commit753cf12700959d05fd4e000cbd9951c22c5a2bfa (patch)
treec885d7777a86b210b79f8a65f7922ab96d517c03 /tcl
parentf22b89d9fbc0d44b23f56e71429d0df909430036 (diff)
downloadriscv-openocd-753cf12700959d05fd4e000cbd9951c22c5a2bfa.zip
riscv-openocd-753cf12700959d05fd4e000cbd9951c22c5a2bfa.tar.gz
riscv-openocd-753cf12700959d05fd4e000cbd9951c22c5a2bfa.tar.bz2
stm32l4: support flashing L45x/46x devices
Also fixes incorrect comment about MSI range. Change-Id: If1339a00e50db44195dfcd5c767ba3f5d9035451 Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com> Reviewed-on: http://openocd.zylin.com/4122 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/stm32l4x.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/stm32l4x.cfg b/tcl/target/stm32l4x.cfg
index 9cad7c4..ccee48e 100644
--- a/tcl/target/stm32l4x.cfg
+++ b/tcl/target/stm32l4x.cfg
@@ -75,7 +75,7 @@ $_TARGETNAME configure -event reset-init {
# Use MSI 24 MHz clock, compliant even with VOS == 2.
# 3 WS compliant with VOS == 2 and 24 MHz.
mww 0x40022000 0x00000103 ;# FLASH_ACR = PRFTBE | 3(Latency)
- mww 0x40021000 0x00000099 ;# RCC_CR = MSI_ON | MSIRGSEL| MSI Range 10
+ mww 0x40021000 0x00000099 ;# RCC_CR = MSI_ON | MSIRGSEL | MSI Range 9
# Boost JTAG frequency
adapter_khz 4000
}