4.7.4 CONFIG4

Memory Write Protection
Name: CONFIG4
Offset: 0x300006

Configuration Word 4

Bit 15141312111098 
   LVPSCANE WRTDWRTBWRTC 
Access R/WR/WR/WR/WR/W 
Reset 11111 
Bit 76543210 
 WRT7WRT6WRT5WRT4WRT3WRT2WRT1WRT0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 

Bit 13 – LVP Low-Voltage Programming Enable bit

The LVP bit cannot be written (to zero) while operating from the LVP programming interface. The purpose of this rule is to prevent the user from dropping out of LVP mode while programming from LVP mode, or accidentally eliminating LVP mode from the Configuration state.

ValueDescription
1 Low-voltage programming enabled. MCLR/VPP pin function is MCLR. MCLRE Configuration bit is ignored.
0 HV on MCLR/VPP must be used for programming

Bit 12 – SCANE Scanner Enable bit

ValueDescription
1 Scanner module is available for use, PMD0[SCANMD] bit enables the module
0 Scanner module is NOT available for use, PMD0[SCANMD] bit is ignored

Bit 10 – WRTD Data EEPROM Write Protection bit

ValueDescription
1 Data EEPROM NOT write-protected
0 Data EEPROM write-protected

Bit 9 – WRTB Boot Block Write Protection bit

ValueDescription
1 Boot Block NOT write-protected
0 Boot Block write-protected

Bit 8 – WRTC Configuration Register Write Protection bit

ValueDescription
1 Configuration Registers NOT write-protected
0 Configuration Registers write-protected

Bits 0, 1, 2, 3, 4, 5, 6, 7 – WRTn User NVM Self-Write Protection bits

ValueDescription
1 Corresponding Memory Block NOT write-protected
0 Corresponding Memory Block write-protected