DocID025202 Rev 7
76/1080
RM0365
Embedded Flash memory
80
4.5.8
Write protection register (FLASH_WRPR)
Address offset: 0x20
Reset value: 0xFFFF FFFF
4.6
Flash register map
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
WRP[31:16]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
WRP[15:0]
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits 31:0
WRP
: Write protect
This register contains the write-protection option bytes loaded by the OBL.
These bits are read-only.
Table 10. Flash interface - register map and reset values
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x000
FLASH_
ACR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
PRFTBS
PRFTBE
HLFCY
A
LATENCY
[2:0]
Reset
value
1
1
0
0
0
0
0x004
FLASH_
KEYR
FKEYR[31:0]
Reset
value
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
0x008
FLASH_
OPTKEYR
OPTKEYR[31:0]
Reset
Value
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
0x00C
FLASH_
SR
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
EO
P
WR
P
R
TERR
Res.
PG
E
R
R
Res.
BSY
Reset
value
0
0
0
0
0x010
FLASH_
CR
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
Re
s.
OBL_L
AUNCH
EO
PIE
Re
s.
ERRIE
OP
TW
RE
Re
s.
LO
C
K
STR
T
OP
TE
R
OPT
P
G
Re
s.
ME
R
PER
PG
Reset
value
0
0
0
0
1
0
0
0
0
0
0
0x014
FLASH_
AR
FAR[31:0]
Reset
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0