Download Print this page

ST STM32F301 6 Series Reference Manual page 59

Advanced arm-based 32-bit mcus

Advertisement

RM0366
Bits 31:0 FKEYR: Flash key
3.5.3
Flash option key register (FLASH_OPTKEYR)
Address offset: 0x08
Reset value: 0xXXXX XXXX
All the register bits are write-only and return a 0 when read.
31
30
29
w
w
w
15
14
13
w
w
w
Bits 31:0
3.5.4
Flash status register (FLASH_SR)
Address offset: 0x0C
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:6 Reserved, must be kept at reset value.
These bits represent the keys to unlock the Flash.
28
27
26
25
w
w
w
w
12
11
10
9
w
w
w
w
OPTKEYR: Option byte key
These bits represent the keys to unlock the OPTWRE.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Bit 5 EOP: End of operation
Set by hardware when a Flash operation (programming / erase) is completed.
Reset by writing a 1
Note: EOP is asserted at the end of each successful program or erase operation
Bit 4 WRPRTERR: Write protection error
Set by hardware when programming a write-protected address of the Flash
memory.
Reset by writing 1.
Bit 3 Reserved, must be kept at reset value.
24
23
22
OPTKEYR[31:16]
w
w
w
8
7
6
OPTKEYR[15:0]
w
w
w
24
23
22
Res.
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
EOP
RM0366 Rev 5
Embedded flash memory
21
20
19
18
w
w
w
w
5
4
3
2
w
w
w
w
21
20
19
18
Res.
Res.
Res.
5
4
3
2
WRPRT
PG
Res.
ERR
ERR
rw
rw
rw
17
16
w
w
1
0
w
w
17
16
Res.
Res.
1
0
Res.
BSY
r
59/874
67

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series