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/stm32
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
..
Makefile
stm32f1x.inc
stm32f1x.S
stm32f2x.inc
stm32f2x.S
stm32h7x.inc
stm32h7x.S target/stm32h7x: add support of dual core variant of STM32H7 2019-12-07 13:07:00 +00:00
stm32l4x.inc
stm32l4x.S flash/nor/stm32l4x: fix minor errors in flash write/async algo 2020-01-27 17:03:40 +00:00
stm32lx.inc
stm32lx.S