openocd/contrib/loaders/flash
Spencer Oliver 94db77a0e6 flash: add stm32f2x async flash loader
This enable the stm32f2x flash driver to use the asynchronous
algorithm support.

Speed increase is as follows:
before - wrote 1048576 bytes from file stm32f4x.bin in 30.453804s (33.625 KiB/s)
after - wrote 1048576 bytes from file stm32f4x.bin in 23.679497s (43.244 KiB/s)

This also fixes a bug that was in the old flash loader.
The old loader waited while bit16 of the status reg was 0, the new
loader waits until this bit is 0 as stated in the flash spec.
Bizarrely this bug did not effect programming on any tested parts.

Change-Id: I3efc94d42cbe81283673a8f4203700638080af6e
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/460
Tested-by: jenkins
2012-02-26 01:05:48 +00:00
..
armv4_5_cfi_intel_8.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_intel_16.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_intel_32.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_8.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_16_dq7.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_16.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv4_5_cfi_span_32.s contrib: add source to the cfi flash loaders 2010-12-10 19:37:39 +00:00
armv7m_cfi_span_16.s loader: update loader src for armv7-m arch 2011-01-06 10:35:02 +00:00
pic32mx.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00
stellaris.s flash: add stellaris async flash loader 2012-02-26 00:46:48 +00:00
stm32f1x.S stm32f1x: fix bug in flash loader and restrict instruction set to armv6-m 2012-01-30 20:01:42 +00:00
stm32f2x.S flash: add stm32f2x async flash loader 2012-02-26 01:05:48 +00:00
stm32lx.S STM32L: Added flash driver and target 2011-10-03 18:42:39 +02:00
str7x.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00
str9x.s contrib: make sure loaders use correct arch 2010-12-10 13:42:29 +00:00