|
MC9S12XD256MAL Datasheet, PDF (1149/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network | |||
|
◁ |
Chapter 28 256 Kbyte Flash Module (S12XFTX256K2V1)
28.3 Memory Map and Register Deï¬nition
This section describes the memory map and registers for the Flash module.
28.3.1 Module Memory Map
The Flash memory map is shown in Figure 28-2. The HCS12X architecture places the Flash memory
addresses between global addresses 0x78_0000 and 0x7F_FFFF. The FPROT register, described in
Section 28.3.2.5, âFlash Protection Register (FPROT)â, can be set to protect regions in the Flash memory
from accidental program or erase. Three separate memory regions, one growing upward from global
address 0x7F_8000 in the Flash memory (called the lower region), one growing downward from global
address 0x7F_FFFF in the Flash memory (called the higher region), and the remaining addresses in the
Flash memory, can be activated for protection. The Flash memory addresses covered by these protectable
regions are shown in the Flash memory map. The higher address region is mainly targeted to hold the boot
loader code since it covers the vector space. The lower address region can be used for EEPROM emulation
in an MCU without an EEPROM module since it can be left unprotected while the remaining addresses
are protected from program or erase. Default protection settings as well as security information that allows
the MCU to restrict access to the Flash module are stored in the Flash conï¬guration ï¬eld as described in
Table 28-1.
Table 28-1. Flash Conï¬guration Field
Global Address
0x7F_FF00 â 0x7F_FF07
0x7F_FF08 â 0x7F_FF0C
0x7F_FF0D
0x7F_FF0E
0x7F_FF0F
Size
(Bytes)
Description
8
Backdoor Comparison Key
Refer to Section 28.6.1, âUnsecuring the MCU using Backdoor Key Accessâ
5
Reserved
1
Flash Protection byte
Refer to Section 28.3.2.5, âFlash Protection Register (FPROT)â
1
Flash Nonvolatile byte
Refer to Section 28.3.2.8, âFlash Control Register (FCTL)â
1
Flash Security byte
Refer to Section 28.3.2.2, âFlash Security Register (FSEC)â
Freescale Semiconductor
MC9S12XDP512 Data Sheet, Rev. 2.21
1151
|
▷ |