]> git.sur5r.net Git - openocd/blobdiff - tcl/target/stm32f4x.cfg
stm32l: split l0/l1 support no jtag, different HSI settings
[openocd] / tcl / target / stm32f4x.cfg
index ecd39de77ca5e82070364738007d4c26b7fb75bb..a7ec5eab3e18e5f59c3724c42520ed614cd933a9 100644 (file)
@@ -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]} {