This is an automated email from Gerrit.

Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2383

-- gerrit

commit 6de9d573c3d01565be42fc0ee242c26112078b16
Author: Uwe Bonnes <b...@elektron.ikp.physik.tu-darmstadt.de>
Date:   Tue Nov 18 17:30:44 2014 +0300

    tcl/target/stm32f4: ramp up JTAG speed, HSI is 16MHz there
    
    Since all F4 parts have an internal HSI providing 16MHz, it's safe to
    use 2MHz JTAG frequency by default.
    
    Change-Id: I2702d5a1d642d4acd4af2db54c028949132c6900
    Signed-off-by: Uwe Bonnes <b...@elektron.ikp.physik.tu-darmstadt.de>
    Signed-off-by: Paul Fertser <fercer...@gmail.com>

diff --git a/tcl/target/stm32f4x.cfg b/tcl/target/stm32f4x.cfg
index ecd39de..a7ec5ea 100644
--- a/tcl/target/stm32f4x.cfg
+++ b/tcl/target/stm32f4x.cfg
@@ -73,13 +73,13 @@ $_TARGETNAME configure -work-area-phys 0x20000000 
-work-area-size $_WORKAREASIZE
 set _FLASHNAME $_CHIPNAME.flash
 flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
 
-# JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 
1MHz
+# JTAG speed should be <= F_CPU/6. F_CPU after reset is 16MHz, so use F_JTAG = 
2MHz
 #
 # 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.
-adapter_khz 1000
+adapter_khz 2000
 
 adapter_nsrst_delay 100
 if {[using_jtag]} {

-- 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to