RM0402
RDP: Read protection option byte.
The read protection is used to protect the software code stored in Flash memory.
Bits 15:8
USER: User option byte
This byte is used to configure the following features:
– Select the watchdog event: Hardware or software
– Reset event when entering the Stop mode
– Reset event when entering the Standby mode
Bit 7
Bit 6
Bit 5
Bit 4
Bits 3:2
Bits 1:0
Bit 15
Bits 14:12
Table 10. Description of the option bytes
Option bytes (word, address 0x1FFF C000)
0xAA: Level 0, no protection
0xCC: Level 2, chip protection (debug and boot from RAM features disabled)
Others: Level 1, read protection of memories (debug features limited)
nRST_STDBY
0: Reset generated when entering the Standby mode
1: No reset generated
nRST_STOP
0: Reset generated when entering the Stop mode
1: No reset generated
WDG_SW
0: Hardware independent watchdog
1: Software independent watchdog
0x1: Not used
BOR_LEV: BOR reset Level
These bits contain the supply level threshold that activates/releases the reset.
They can be written to program a new BOR level value into Flash memory.
00: BOR Level 3 (VBOR3), brownout threshold level 3
01: BOR Level 2 (VBOR2), brownout threshold level 2
10: BOR Level 1 (VBOR1), brownout threshold level 1
11: BOR off, POR/PDR reset threshold level is applied
Note: For full details on BOR characteristics, refer to the "Electrical characteristics"
section of the product datasheet.
0x1: Not used
Option bytes (word, address 0x1FFF C008)
SPRMOD: Selection of Protection Mode of nWPRi bits
0: nWPRi bits used for sector i write protection (Default)
1: nWPRi bits used for sector i PCROP protection (Sector)
Reserved
RM0402 Rev 6
Embedded Flash memory interface
67/1163
81
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?
Questions and answers