XC886/888CLM
Memory Organization
User’s Manual
3-7
V1.3, 2010-02
Memory Organization, V 1.2
In Flash hardware protection mode 0, an erase operation on either of the D-Flash banks
can proceed only if bit DFLASHEN in register MISC_CON is set to 1. At the end of each
erase operation, DFLASHEN is cleared automatically by hardware. Hence, it is
necessary to set DFLASHEN before each D-Flash erase operation. While the setting of
DFLASHEN is taken care by the Bootstrap Loader (BSL) routine during D-Flash in-
system erasing, DFLASHEN must be set by the user application code before starting
each D-Flash in-application erasing. The extra step serves to prevent inadvertent
destruction of the D-Flash contents.
Parallel erase of the D-Flash banks is disallowed in Flash protection mode 0. Two D-
Flash erase operations are needed to erase D-Flash banks 0 and 1.
The user programmable password must be of the format shown in
.
D-Flash
contents can be
read by
Read instructions in
any program memory
Read instructions in
any program memory
Read instructions in
the P-Flash or D-
Flash
External access
to D-Flash
Not possible
Not possible
Not possible
D-Flash
program
Possible
Possible
Not possible
D-Flash erase
Possible
Possible, on
condition that bit
DFLASHEN in
register MISC_CON
is set to 1 prior to
each erase operation
Not possible
Table 3-1
Flash Protection Modes
(cont’d)
Flash Protection Without hardware
protection
With hardware protection
*