Embedded Flash memory (FLASH) for category 3 devices
Bits 31:17 Reserved, must be kept cleared
3.7.18
Flash Securable area bank2 register (FLASH_SEC2R)
Address offset: 0x74
Reset value: 0xFFFF FFXX
Access: no wait state when no Flash memory operation is on going, word, half-word and
byte access.
31
30
29
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
142/2083
Bit 16 BOOT_LOCK: Unique boot entry point.
When this bit is set, the boot is done from user flash only, whatever the RDP
level. This bit can be reset by SW only in level0. In level 1, the only way to reset
this bit is by doing a level regression (level 1 => level 0), which forces a mass
erase of the flash.
Bits 15:8 Reserved, must be kept cleared
Bit 7:0 SEC_SIZE1: sets the number of pages used in the bank 1 Securable memory
area.
Securable area starts at @ 0x0800 0000 and its size is SEC_SIZE1 * page size.
This field can be changed in level0 only.
Any attempt to modify in level1 silently fails, and does not change register value.
28
27
26
25
Res.
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Res.
Bits 31:8 Reserved, must be kept cleared
Bit 7:0 SEC_SIZE2: sets the number of pages used in the bank 2 Securable memory
area.
Securable area starts at @ 0x0804 0000 and its size is SEC_SIZE2 * page size.
When DBANK=0, this field is not usefull.
This field can be changed in level0 only. Any attempt to modify in level1 silently
fails, and does change register value.
24
23
22
Res.
Res.
Res.
8
7
6
Res.
rw
rw
RM0440 Rev 1
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
SEC_SIZE2
rw
rw
rw
rw
RM0440
17
16
Res.
Res.
1
0
rw
rw
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?