8.6.5 CONFIG5

Configuration Word 5(1)

Note:
  1. Since device code protection takes effect immediately, this Configuration Word may 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 EEPROM Code Protection(2)

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

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

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