EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 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 #94 background imageLoading...
Page #94 background image
Embedded Flash memory (FLASH) RM0444
94/1390 RM0444 Rev 5
Figure 3. Changing read protection (RDP) level
3.5.2 FLASH proprietary code readout protection (PCROP)
Two areas of the Flash memory (Flash memory bank for dual-bank devices) can be
protected against unwanted read and/or write by a third party.
MSv33468V3
Read-protection level increase
RDP = 0xAA
RDP = 0xCC
RDP ≠ 0xCC ≠ 0xAA
Level 1
RDP ≠ 0xAA ≠ 0xCC
Level 2
RDP = 0xCC
Level 0
RDP = 0xAA
RDP = 0xCC
Read-protection level decrease (with full or partial mass erase)
Erase/program option bytes without changing read-protection level (RDP kept unchanged)
Table 19. Access status versus protection level and execution modes
Area
Protection
level
User execution (BootFromFlash)
Debug/ BootFromRam/
BootFromLoader
Read Write Erase Read Write Erase
Main Flash
memory
1 Yes Yes Yes No No No
(3)
2 Yes Yes Yes N/A
(1)
N/A
(1)
N/A
(1)
System
memory
(2)
1Yes No No YesNoNo
2 Yes No No N/A
(1)
N/A
(1)
N/A
(1)
Option bytes
1Yes Yes
(3)
Yes Yes Yes
(3)
Yes
2 Yes No No N/A
(1)
N/A
(1)
N/A
(1)
Backup
registers
1 Yes Yes N/A No No No
(4)
2Yes Yes N/A N/A
(1)
N/A
(1)
N/A
(1)
OTP
1 Yes Yes N/A No No N/A
2Yes Yes N/A N/A
(1)
N/A
(1)
N/A
(1)
1. When the protection Level 2 is active, the Debug port, the boot from RAM and the boot from System memory are disabled.
2. The System memory is only read-accessible, whatever the protection level (0, 1 or 2) and execution mode.
3. The Flash Main memory is erased when the RDP option byte is programmed with all level of protections disabled (0xAA).
4. The backup registers are erased when RDP changes from Level 1 to Level 0.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals