CONFIG4

Memory Write Protection
Name:
CONFIG4
Offset:
0x300006
Reset:
Access:
Bit15141312111098
LVPSCANEWRTDWRTBWRTC
AccessR/WR/WR/WR/WR/W
Reset11111
Bit76543210
WRT7WRT6WRT5WRT4WRT3WRT2WRT1WRT0
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset11111111

Bit 13 – LVP: Low-Voltage Programming Enable bit

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

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

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

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

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

User NVM Self-Write Protection bits

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