This patch set fixes some general problems in the RLink interface driver.
Most importantly it fixes a performance bug that have been causing decreased
throughput.
Speed test on a STM32 Primer (STM32F103 platform with built in RLink) with the
following openocd.cfg
---
source [find interface/rlink.cfg]
source [find target/stm32.cfg]
$_TARGETNAME configure -event reset-init {
mww 0x40022000 0x32
mww 0x40021004 0x3c0400
mww 0x40021000 0x01000883
sleep 10
mww 0x40021004 0x3c0402
sleep 10
adapter_khz 3000
}
init
reset init
poll off
stm32x mass_erase 0
flash write_image test.bin 0x08000000
verify_image test.bin 0x08000000
shutdown
---
Before:
wrote 65536 bytes from file test.bin in 8.316117s (7.696 KiB/s)
verified 65536 bytes in 0.748795s (85.471 KiB/s)
After:
wrote 65536 bytes from file test.bin in 7.171075s (8.925 KiB/s)
verified 65536 bytes in 0.748815s (85.468 KiB/s)
/Andreas
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development