ColdFire Flash Module (CFM)
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
17-4
Freescale Semiconductor
Preliminary
17.3.2
Flash Base Address Register (FLASHBAR)
The configuration information in the flash base address register (FLASHBAR) controls the operation of
the flash module.
•
The FLASHBAR holds the base address of the flash. The MOVEC instruction provides write-only
access to this register.
•
The FLASHBAR can be read or written from the debug module in a similar manner.
•
All undefined bits in the register are reserved. These bits are ignored during writes to the
FLASHBAR and return zeroes when read from the debug module.
•
The FLASHBAR valid bit is programmed according to the chip mode selected at reset (see
Chapter 9, “Chip Configuration Module (CCM)
” for more details). All other bits are unaffected.
The FLASHBAR register contains several control fields. These fields are shown in
NOTE
The default value of the FLASHBAR is determined by the chip
configuration selected at reset (see
Chapter 9, “Chip Configuration Module
” for more information). If external boot mode is used, the
FLASHBAR located in the processor’s CPU space is invalid and it must be
initialized with the valid bit set before the CPU (or modules) can access the
on-chip flash.
Table 17-1. CFM Configuration Field
Address Offset
(from PROGRAM_ARRAY_BASE)
Size
(bytes)
Description
Factory
Default
0x0400 - 0x0407
8
Backdoor Comparison Key
0xFFFF_FFFF_FFFF_FFF
F
0x0408 - 0x040B
4
Flash Protection Bytes
0xFFFF_FFFF
0x040C - 0x040F
4
Flash SUPV Access Bytes
CFM Supervisor Access Register
0xFFFF_FFFF
0x0410 - 0x0413
4
Flash DATA Access Bytes
”)
0xFFFF_FFFF
0x0414 - 0x0417
4
Flash Security Word
(see
”)
0xFFFF_FFFF