2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 13:02:18 +10:00
openocd/contrib/loaders/flash
Tomas Vanek e7e681ac2b flash/nor/stm32l4x: fix minor errors in flash write/async algo
Fix comment of tested errors in asm src.

List all relevant errors in FLASH_ERROR mask: FLASH_PROGERR was missing
and any trial to re-program already programmed double word ended up
in the error bit held uncleared and flash write permanetly repeating
the error message until reset.

Lock the bank also after unsuccesfull write_block run.

Set async target algo block size to size of double word.

Remove warning in case of write_block success. In case of error
use LOG_ERROR instead of warning.

Change-Id: Ibf6d5e306a4c2eaa43de67d636b4902c737f02f3
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5360
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2020-01-27 17:03:40 +00:00
..
at91sam7x
bluenrg-x
cc26xx
cc3220sf
fespi
fm4
fpga
kinetis
kinetis_ke
max32xxx
msp432
sh_qspi
stm32 flash/nor/stm32l4x: fix minor errors in flash write/async algo 2020-01-27 17:03:40 +00:00
xmc1xxx
armv4_5_cfi_intel_8.s
armv4_5_cfi_intel_16.s
armv4_5_cfi_intel_32.s
armv4_5_cfi_span_8.s
armv4_5_cfi_span_16_dq7.s
armv4_5_cfi_span_16.s
armv4_5_cfi_span_32.s
armv7m_cfi_span_16_dq7.s
armv7m_cfi_span_16.s
armv7m_io.s
cortex-m0.S
efm32.S
k1921vk01t.S
lpcspifi_erase.S
lpcspifi_init.S
lpcspifi_write.S
mdr32fx.S
mrvlqspi_write.S
pic32mx.s
sim3x.s
stellaris.s
str7x.s
str9x.s