Freescale Semiconductor MCF52210 Network Card User Manual


 
ColdFire Flash Module (CFM)
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 18-11
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
loaded during the reset sequence, the flash logical sector containing the flash configuration field must first
be unprotected, and then the flash protection bytes must be programmed with the desired value.
PROTECT[31:0] —
Figure 18-8. CFMPROT Protection Diagram
Table 18-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.
(PROGRAM_ARRAY_BASE + $0000_0000)
(PROGRAM_ARRAY_BASE + $0001_FFFF)
SECTOR 0
SECTOR 14
(PROGRAM_ARRAY_BASE + $0000_1000)
(PROGRAM_ARRAY_BASE + $0000_E000)
PROTECT[31]
PROTECT[0]
(PROGRAM_ARRAY_BASE + $0001_F000)
(PROGRAM_ARRAY_BASE + $0000_F000)
SECTOR 15
SECTOR 31
SECTOR 17
SECTOR 16
(PROGRAM_ARRAY_BASE + $0001_2000)
(PROGRAM_ARRAY_BASE + $0001_1000)
(PROGRAM_ARRAY_BASE + $0001_0000)
4kBytes
4kBytes
4kBytes
4kBytes
4kBytes
4kBytes
Flash Logical Sectors -
protection defined by CFMPROT