Download MCF5213 ColdFire ® Integrated Microcontroller Reference Manual

Transcript
ColdFire Flash Module (CFM)
15.3.3.5
CFMSACC — CFM Supervisor Access Register
The CFMSACC register is used to control supervisor/user access to the flash memory.
IPSBAR
Offset: 0x1D_0014 (CFMSACC)
31
30
29
28
Access: User read/write
27
26
25
24
R
20
19
18
17
16
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
F1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
F1
F1
F1
F1
F1
F1
F1
F1
R
1
21
F1
SUPV
W
Reset
22
SUPV
W
Reset
23
F1
F1
F1
F1
F1
F1
F1
F1
Reset state loaded from flash configuration field during reset.
Figure 15-9. CFM Supervisor Access Register (CFMSACC)
All CFMSACC register bits are readable and only writable when LOCK is cleared.
To change the flash supervisor access on a temporary basis, the CFMSACC register should be written after
the LOCK bit in the CFMMCR register has been cleared. To change the flash supervisor access loaded
during the reset sequence, the flash logical sector containing the flash configuration field must first be
unprotected, and then the flash supervisor access bytes must be programmed with the desired value. Each
flash logical sector may be mapped into supervisor or unrestricted address space (see Figure 15-8 for
details on flash sector mapping).
Table 15-9. CFMSACC Field Descriptions
Field
31–0
SUPV
15.3.3.6
Description
Flash address space assignment for supervisor/user access
0 Flash logical sector M is placed in unrestricted address space.
1 Flash logical sector M is placed in supervisor address space
CFMDACC — CFM Data Access Register
The CFMDACC register is used to control data/instruction access to the flash memory.
Freescale Semiconductor
15-12