Information

PIC12(L)F1822/PIC16(L)F1823
DS80502E-page 6 2010-2012 Microchip Technology Inc.
7. Module: In-Circuit Serial Programming™
(ICSP™)
7.1 Low-Voltage Programming
The Bulk Erase feature is not available with Low-
Voltage Programming mode.
A Bulk Erase of the program Flash memory or data
memory cannot be executed in Low-Voltage
Programming mode.
Work around
Method 1: If ICSP Low-Voltage
Programming mode is required,
use row erases to erase the
program memory, as described in
the Program/Verify mode section
of the Programming
Specification. Data memory must
be overwritten with the desired
values.
Method 2: Use the ICSP High-Voltage
Programming mode if a Bulk
Erase is required.
Affected Silicon Revisions
8. Module: BOR
8.1 BOR Reset
This issue affects only the PIC12LF1822/
PIC16LF1823 devices. The devices may undergo
a BOR Reset when waking-up from Sleep and
BOR is re-enabled. A BOR Reset may also occur
the moment the software BOR is enabled.
Under certain voltage and temperature conditions
and when either SBODEN or BOR_NSLEEP is
selected, the devices may occasionally reset when
waking-up from Sleep or BOR is enabled.
Work around
Method 1: In applications where BOR use is
not critical, turn off the BOR in the
Configuration Word.
Method 2: Set the FVREN bit of the
FVRCON register. Maintain this
bit on at all times.
Method 3: When BOR module is needed
only during run-time, use the
software-enabled BOR by setting
the SBODEN option on the
Configuration Word. BOR should
be turned off by software before
Sleep, then follow the below
sequence for turning BOR on
after Wake-up:
a. Wake-up event occurs;
b. Turn on FVR (FVREN bit of the
FVRCON register);
c. Wait until FVRRDY bit is set;
d. Wait 15 µs after the FVR
Ready bit is set;
e. Manually turn on the BOR.
Method 4: Use the software-enabled BOR
as described in Method 3, but use
the following sequence:
a. Switch to internal 32 kHz
oscillator immediately before
Sleep;
b. Upon wake-up, turn on FVR
(FVREN bit of the FVRCON
register);
c. Manually turn on the BOR;
d. Switch the clock back to the
preferred clock source.
Affected Silicon Revisions
Note: Only the Bulk Erase feature will erase the
program or data memory if the code or
data protection is enabled. Method 2 must
be used if the code or data protection is
enabled.
A6 A8 A9
X
Note: This issue pertains only to the LF product
versions, PIC12LF1822 and
PIC16LF1823.
Note: When using the software BOR follow the
steps in Methods 3 or 4 above when
enabling BOR for the first time during
program execution.
A6 A8 A9
XX