RM0046 Flash Memory
Doc ID 16912 Rev 5 381/936
The Flash block provides two levels of protection against piracy:
● If bits NVSCI0[CW[15:0]] are programmed to 0x55AA and NVSC1 = NVSCI0,
Censored mode is disabled. All other possible values enable Censored mode.
● If bits NVSCI0[SC[15:0]] are programmed to 0x55AA and NVSC1 = NVSCI0, Public
Access is disabled. All other possible values enable Public Access.
The parts are delivered to the user with Censored mode and public access disabled.
The chosen Flash ECC algorithm allows to modify the censorship status without erasing the
Shadow sector, as shown in Table 174.
Table 174. Bits manipulation: censorship management
Censored mode Public access NVSCI0 NVSCI1
Enabled Enabled 0xFFFF_FFFF 0xFFFF_FFFF
Disabled Enabled 0xFFFF_55AA 0xFFFF_55AA
Enabled Disabled 0x55AA_FFFF 0x55AA_FFFF
Disabled Disabled 0x55AA_55AA 0x55AA_55AA
Enabled Disabled 0x55AA_0000 0x55AA_0000
Disabled Enabled 0x0000_55AA 0x0000_55AA
Enabled Enabled 0x0000_0000 0x0000_0000