RM0440
3.7.3
Flash key register (FLASH_KEYR)
Address offset: 0x08
Reset value: 0x0000 0000
Access: no wait state, word access
31
30
29
w
w
w
15
14
13
w
w
w
Bits 31:0 KEYR: Flash key
3.7.4
Flash option key register (FLASH_OPTKEYR)
Address offset: 0x0C
Reset value: 0x0000 0000
Access: no wait state, word access
31
30
29
w
w
w
15
14
13
w
w
w
Bits 31:0 OPTKEYR: Option byte key
Embedded Flash memory (FLASH) for category 3 devices
28
27
26
25
w
w
w
w
12
11
10
9
w
w
w
w
The following values must be written consecutively to unlock the FLACH_CR
register allowing flash programming/erasing operations:
KEY1: 0x4567 0123
KEY2: 0xCDEF 89AB
28
27
26
25
w
w
w
w
12
11
10
9
w
w
w
w
The following values must be written consecutively to unlock the FLACH_OPTR
register allowing option byte programming/erasing operations:
KEY1: 0x0819 2A3B
KEY2: 0x4C5D 6E7F
24
23
22
KEYR[31:16]
w
w
w
8
7
6
KEYR[15:0]
w
w
w
24
23
22
OPTKEYR[31:16]
w
w
w
8
7
6
OPTKEYR[15:0]
w
w
w
RM0440 Rev 1
21
20
19
18
w
w
w
w
5
4
3
2
w
w
w
w
21
20
19
18
w
w
w
w
5
4
3
2
w
w
w
w
17
16
w
w
1
0
w
w
17
16
w
w
1
0
w
w
127/2083
185
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?