Microchip Technology DM163025-1 Data Sheet

Page of 536
PIC18(L)F2X/45K50
DS30684A-page 404
 2012 Microchip Technology Inc.
26.10 Single-Supply ICSP Programming
The LVP Configuration bit enables Single-Supply ICSP
Programming (formerly known as Low-Voltage ICSP
Programming or LVP). When Single-Supply Program-
ming is enabled, the microcontroller can be programmed
without requiring high voltage being applied to the
MCLR/V
PP
/RE3 pin. See “PIC18(L)F2X/4XK50 Flash
Memory Programming Specification
” (DS41630) for
more details about low voltage programming. 
The LVP bit may be set or cleared only when using
standard high-voltage programming (V
IHH
 applied to
the MCLR/V
PP
/RE3 pin). Once LVP has been disabled,
only the standard high-voltage programming is
available and must be used to program the device. 
Memory that is not code-protected can be erased using
either a block erase, or erased row by row, then written
at any specified V
DD
. If code-protected memory is to be
erased, a block erase is required.
Note 1:
High-voltage programming is always
available, regardless of the state of the
LVP bit, by applying V
IHH
 to the MCLR
pin.
2:
By default, Single-Supply ICSP is
enabled in unprogrammed devices (as
supplied from Microchip) and erased
devices.
3:
While in Low-Voltage ICSP mode, MCLR
is always enabled, regardless of the
MCLRE bit, and the RE3 pin can no
longer be used as a general purpose
input.