EasyManuals Logo

ST STM32WL5 Series User Manual

ST STM32WL5 Series
1461 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
RM0453 Rev 1 119/1461
RM0453 Embedded Flash memory (FLASH)
153
FLASH_PCROP1AER. Backup registers (RTC_BKPxR in the RTC), SRAM1, SRAM2 and
PKA SRAM are also erased. The user options except PCROP protection are set to their
previous values copied from FLASH_OPTR, FLASH_WRP1xR (x= A or B). PCROP is
disabled. The OTP area is not affected by mass erase and remains unchanged.
If the bit PCROP_RDP is cleared in FLASH_PCROP1AER, the full mass erase is replaced
by a partial mass erase that is successive page erases, except for the pages protected by
PCROP. This is done in order to keep the PCROP code. Only when the Flash memory is
erased, options are re-programmed with their previous values. This is also true for
FLASH_PCROP1xSR and FLASH_PCROP1xER registers (x= A or B).
If the CPU2 is secure (ESE = 1) the full mass erase is replaced by a partial mass erase that
is successive page erases, except for the pages protected by CPU2 security (SFSA). This is
done in order to keep the CPU2 secure code.
Table 19. RDP regression from level 1 to level 0 and memory erase
ESE PCROP PCROP_RDP Comment
0
None x
Flash, SRAM1, SRAM2, PKA SRAM and backup registers mass erase
Partial
1
0
Flash multiple page erase of all non-PCROP pages
SRAM1, SRAM2, PKA SRAM and backup registers erased (PCROP
Flash pages conserved)
Complete
Flash, SRAM1, SRAM2 and backup registers conserved
PKA SRAM erase.
1
partial
None x Flash multiple page erase of all non-secure pages
SRAM1, SRAM2, PKA SRAM and backup registers erased (secure Flash
pages conserved)
Partial
1
0
Flash multiple page erase of all non-PCROP pages and non-secure
pages
SRAM1, SRAM2, PKA SRAM and backup registers erased (PCROP
Flash pages and secure Flash pages conserved)
Complete
non-secure
Flash, SRAM1, SRAM2, and backup registers conserved
PKA SRAM erased
1
complete
Flash
xx
Flash, SRAM1, SRAM2, and backup registers conserved
PKA SRAM erased
1
0
None x
Flash, SRAM1, SRAM2, PKA SRAM and backup registers mass erased
Partial
1
0
Flash multiple page erase of all non-secure non-PCROP pages and
secure pages
SRAM1, SRAM2, PKA SRAM and backup registers erased (non-secure
PCROP Flash pages conserved)
Complete
non-secure
Flash multiple page erase of all secure pages
SRAM1, SRAM2, PKA SRAM and backup registers erased (non-secure
PCROP Flash pages conserved)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32WL5 Series Specifications

General IconGeneral
BrandST
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals