From e7269e32a7390e0f17817bc340d50e0cf4d0e9e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Fri, 15 Jul 2011 12:05:37 +0200 Subject: [PATCH] stm32f2xxx: comments about frequency choice --- jimtcl | 2 +- tcl/target/stm32f2xxx.cfg | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jimtcl b/jimtcl index 411e92fea..60dfb023c 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 9ebc00f34..8a8572440 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