aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/stm32f2xxx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/stm32f2xxx.cfg')
-rw-r--r--tcl/target/stm32f2xxx.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcl/target/stm32f2xxx.cfg b/tcl/target/stm32f2xxx.cfg
index 9ebc00f3..8a857244 100644
--- a/tcl/target/stm32f2xxx.cfg
+++ b/tcl/target/stm32f2xxx.cfg
@@ -21,6 +21,11 @@ if { [info exists WORKAREASIZE] } {
}
# JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz
+#
+# Since we may be running of an RC oscilator, we crank down the speed a
+# bit more to be on the safe side. Perhaps superstition, but if are
+# running off a crystal, we can run closer to the limit. Note
+# that there can be a pretty wide band where things are more or less stable.
jtag_khz 1000
jtag_nsrst_delay 100