openocd/src/flash
Jimmy 7901cf2124 flash/nor/stm32lx: fixed writes at high adapter speeds
The busy flag must be polled after each half-page write.
At low clock speeds, no issue is observed when the poll
is omitted, because the writes complete before the next
write begins. But at high clock speeds the subsequent
writes would overlap and cause the operation to fail.

The status polls are done on the target for efficiency,
since the half-pages are very small.

Change-Id: Ia1e9b4a6a71930549b3d84a902744ce6e596301b
Signed-off-by: Jimmy <nhminus@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5598
Tested-by: jenkins
Reviewed-by: Jelle De Vleeschouwer
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Andrzej Sierżęga <asier70@gmail.com>
2021-11-03 20:32:54 +00:00
..
nand openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
nor flash/nor/stm32lx: fixed writes at high adapter speeds 2021-11-03 20:32:54 +00:00
common.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
common.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
startup.tcl flash/stm32l4x: add support of STM32U57x/U58x 2021-08-30 07:51:52 +00:00