projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcl/target/stm32f4: fix: reduce adapter speed before reset
[fw/openocd]
/
tcl
/
target
/
stm32f4x.cfg
diff --git
a/tcl/target/stm32f4x.cfg
b/tcl/target/stm32f4x.cfg
index c7f6ee8179ddc9416c7617803595a59be8983860..7205c461486e4f152348a8bceb21dc6afa40a120 100644
(file)
--- a/
tcl/target/stm32f4x.cfg
+++ b/
tcl/target/stm32f4x.cfg
@@
-120,3
+120,8
@@
$_TARGETNAME configure -event reset-init {
# Boost JTAG frequency
adapter_khz 8000
}
+
+$_TARGETNAME configure -event reset-start {
+ # Reduce speed since CPU speed will slow down to 16MHz with the reset
+ adapter_khz 2000
+}