Flash program memory and data EEPROM RM0016
54/449 Doc ID 14587 Rev 8
4.8.4 Flash protection register (FLASH_FPR)
Address offset: 0x03
Reset value: 0x00
4.8.5 Flash protection register (FLASH_NFPR)
Address offset: 0x04
Reset value: 0xFF
4.8.6 Flash program memory unprotecting key register (FLASH_PUKR)
Address offset: 0x08
Reset value: 0x00
76543210
Reserved
WPB5 WPB4 WPB3 WPB2 WPB1 WPB0
ro ro ro ro ro ro
Bits 7:6 Reserved.
Bits 5:0 WPB[5:0]: User boot code area protection bits
These bits show the size of the boot code area. They are loaded at startup with the content of
the UBC option byte. Refer to the datasheets for the protected pages according to the bit
values.
76543210
Reserved
NWPB5 NWPB4 NWPB3 NWPB2 NWPB1 NWPB0
ro ro ro ro ro ro
Bits 7:6 Reserved.
Bits 5:0 WPB[5:0]: User boot code area protection bits
These bits show the size of the boot code area. They reflect the content of the NUBC option
byte. Refer o the datasheet for the protected pages according to the bit values.
76543210
MASS_PRG KEYS
rw
Bits 7:0 PUK [7:0]: Main program memory unlock keys
This byte is written by software (all modes). It returns 0x00 when read.
Refer to Enabling write access to the main program memory on page 44 for the description
of main program area write unprotection mechanism.