STMicroelectronics STM32WL5 Series Reference Manual page 111

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

Advertisement

RM0453
PGSERR is set if one of the following conditions occurs:
WRPERR: write protection error
WRPERR is set if one of the following conditions occurs:
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:
In the standard programming sequence or the fast programming sequence, a data
is written when PG and FSTPG are cleared.
In the standard programming sequence or the fast programming sequence, MER
and PER are not cleared when PG or FSTPG is set.
In the fast programming sequence, the mass erase is not performed before setting
the FSTPG bit.
In the mass erase sequence, PG, FSTPG, and PER are not cleared when MER is
set, when the security of the flash allows a mass erase. A non-secure mass erase
request on a secure flash memory does not set a PGSERR. An illegal access
event is generated instead.
In the page erase sequence, PG, FSTPG and MER are not cleared when PER is
set, when the security of the page allows access. When the security of this page
does not allow access, no PGSERR is set but an illegal access event is generated
instead.
PGSERR is set also if PROGERR, SIZERR, PGAERR, WRPERR, MISSERR,
FASTERR or PGSERR is set due to a previous programming error.
In the fast programming sequence, if the page containing the row to be
programmed has not been erased by the last page erase action (If a mass erase
has been done, it is allowed to program rows on higher order pages but not on
lower order)
Attempt to program or erase in a write protected area (WRP) or in a PCROP area,
when the security of the area allows access. When the security of this area does
not allow access, no WRPERR is set but an illegal access event is generated
instead.
Attempt to perform a mass erase when one page or more is protected by WRP or
PCROP, when the security of the flash allows a mass erase. A non-secure mass
erase request on a secure flash memory does not set a WRPERR. An illegal
access event is generated instead.
The debug features are connected or the boot is executed from SRAM or from
system flash memory when the readout protection (RDP) is set to level 1.
Attempt to modify the option bytes when the readout protection (RDP) is set to
Level 2, except when requested by the secure CPU2.
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.
RM0453 Rev 5
Embedded flash memory (FLASH)
111/1450
154

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents