ColdFire Flash Module (CFM)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
17-10
Freescale Semiconductor
The CFM flash security operation is described in
Section 17.4.3, “Flash Security Operation
.
17.3.3.4
CFMPROT — CFM Protection Register
The CFMPROT register defines which flash logical sectors are protected against program and erase
operations.
Figure 17-7. CFM Protection Register (CFMPROT)
All CFMPROT register bits are readable and only writable when LOCK equals 0.
The flash memory is divided into logical sectors for the purpose of data protection using the CFMPROT
register. The flash memory consists of thirty-two 8-Kbyte sectors, as shown in
.
To change the flash memory protection on a temporary basis, the CFMPROT register should be written
after the LOCK bit in the CFMMCR register has been cleared. To change the flash memory protection that
is loaded during the reset sequence, the flash logical sector containing the flash configuration field must
first be unprotected, then the flash protection bytes must be programmed with the desired value.
IPSBAR
Offset: 0x1D_0010 (CFMPROT)
Access: User read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
PROTECT
W
Reset
F
1
1
The reset state for all bits in CFMPROT is loaded from the flash configuration field at offset 0x0408 during reset (see
).
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
PROTECT
W
Reset
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
F
1
Table 17-8. CFMPROT Field Descriptions
Field
Description
31 - 0
PROTECT
Each flash logical sector can be protected from program and erase operations by setting the
PROTECT[M] bit.
PROTECT[M] = 1: Flash logical sector M is protected.
PROTECT[M] = 0: Flash logical sector M is not protected.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60