From: Øyvind Harboe Date: Fri, 15 Jul 2011 10:05:37 +0000 (+0200) Subject: stm32f2xxx: comments about frequency choice X-Git-Tag: v0.5.0~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7269e32a7390e0f17817bc340d50e0cf4d0e9e0;p=openocd stm32f2xxx: comments about frequency choice --- diff --git a/jimtcl b/jimtcl index 411e92fe..60dfb023 160000 --- a/jimtcl +++ b/jimtcl @@ -1 +1 @@ -Subproject commit 411e92fea9621630eb350e0c2bb43543e553b84f +Subproject commit 60dfb023c4afa95047e0fa8db49830ccb46446b2 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