Cfm Protection Register (Cfmprot); Cfmprot Field Descriptions - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Memory Map
6.3.4.4

CFM Protection Register (CFMPROT)

The CFMPROT specifies which Flash logical sectors are protected from program and erase
operations.
31
Field
Reset
R/W
15
Field
Reset
R/W
Address
Note: The CFMPROT register is loaded at reset from the Flash Program/Erase Sector Protection longword stored at the
array base address + 0x0000_0400.
The CFMPROT register is always readable and only writeable when LOCK = 0. To change
which logical sectors are protected on a temporary basis, write CFMPROT with a new
value after the LOCK bit in CFMCR has been cleared. To change the value of CFMPROT
that will be loaded on reset, the protection byte in the Flash configuration field must first
be temporarily unprotected using the method just described before reprogramming the
protection bytes. Then the Flash Protection longword at offset 0x1D_0400 must be written
with the desired value.
Bits
Name
31–0
PROT[31:0]
The CFMPROT controls the protection of thirty-two 16-Kbyte Flash logical sectors in the
512-Kbyte Flash array. Figure 6-8 shows the association between each bit in the
CFMPROT and its corresponding logical sector.
6-12
Figure 6-7. CFM Protection Register (CFMPROT)
Table 6-7. CFMPROT Field Descriptions
Sector protection. Each Flash logical sector can be protected from program and erase
operations by setting its corresponding PROT bit.
1 Logical sector is protected.
0 Logical sector is not protected.
MCF5282 User's Manual
PROT
See Note
R/W
PROT
See Note
R/W
IPSBAR + 0x1D_0010
Description
16
0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents