Hi!
I'm using a JTAGkey-Tiny to program my STM32F103VBT6 CPU, but the flash
performance seems to be _very_ low.. (around 6 kb/s).
I already tried to enable the PLL and setting jtag_khz to 6000 (which
works), but it doesn't get any faster. Here's my openocd.cfg:
source [find board/stm32f10x_128k_eval.cfg]
source [find interface/jtagkey-tiny.cfg]
proc flash_image { filename } {
reset halt
mww 0x40022000 0x2 # FLASH_ACR 2 waitstates
mww 0x40021004 0x380402 # RCC_CFGR HSI*16 = 64 MHz
mww 0x42420060 0x1 # RCC_CFGR(PLLON) Enable PLL
jtag_khz 6000
flash write_image erase $filename
jtag_khz 500
reset run
shutdown
}
init
Is there any way to speed things up?!
Maybe there should be a table of expected flash speeds with different
JTAG probes and CPUs in the documentation.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development