Table 8. Errors In Page-Based Row Programming - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
MISSERR: fast programming data miss error
In fast programming, all the data must be written successively. MISSERR is set if the
previous data programming is finished and the next data to program is not written yet.
FASTERR: fast programming error
In fast programming, FASTERR is set if one of the following conditions occurs:
If an error occurs during a program or erase operation, one of the following error flags is set
in FLASH_SR:
PROGERR, SIZERR, PGAERR, PGSERR, MISSERR (program error flags)
WRPERR (protection error flag)
In this case, if the error interrupt enable bit ERRIE is set in FLASH_CR, an interrupt is
generated and the operation error flag OPERR is set in FLASH_SR.
Note:
If several successive errors are detected (for example, in case of DMA transfer to the flash
memory), the error flags cannot be cleared until the end of the successive write request.
PGSERR and PGAERR in a page-based row programming
In case of fast programming, the table below describes how PGAERR and PGSERR are
handled.
Last page/row
page [x]/row [y]
After a system reset, no MER or PER is performed. Any programming attempt causes a
PGAERR and a PGSERR.
When FSTPG bit is set for more than 7 µs (generating a time-out detection).
When the row fast programming is interrupted by a MISSERR, PGAERR,
WRPERR or SIZERR.

Table 8. Errors in page-based row programming

Current page/row
page [x] / row [x-n]
page [x-n] / row [any]
page [x+n] / row [any]
MER active
PGAERR
PGAERR & PGSERR
No error
RM0461 Rev 5
Embedded flash memory (FLASH)
PPER active
PGAERR
PGAERR & PGSERR
PGSERR
81/1306
108

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents