8.6.5 CONFIG5

Configuration Word 5(1)

Note:
  1. Since device code protection takes effect immediately, this Configuration Word must be written last.
  2. Once code protection is enabled, it can only be removed through a Bulk Erase.
Name: CONFIG5
Offset: 0x800B

Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
       CPDCP 
Access R/WR/W 
Reset 11 

Bit 1 – CPD  Data Flash Memory (EEPROM) Code Protection(2)

ValueDescription
1 EEPROM code protection is disabled
0 EEPROM code protection is enabled

Bit 0 – CP  Program Flash Memory (PFM) Code Protection(2)

ValueDescription
1 PFM code protection is disabled
0 PFM code protection is enabled
Since device code protection takes effect immediately, this Configuration Word must be written last. Once code protection is enabled, it can only be removed through a Bulk Erase.