|
S912XHZ512F1VAG Datasheet, PDF (134/978 Pages) Freescale Semiconductor, Inc – Covers MC9S12XHZ384, MC9S12XHZ256 | |||
|
◁ |
Chapter 3 512 Kbyte Flash Module (S12XFTX512K4V3)
3.3 Memory Map and Register Deï¬nition
This section describes the memory map and registers for the Flash module.
3.3.1 Module Memory Map
The Flash memory map is shown in Figure 3-2. The HCS12X architecture places the Flash memory
addresses between global addresses 0x78_0000 and 0x7F_FFFF. The FPROT register, described in
Section 3.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 3-1.
Table 3-1. Flash Conï¬guration Field
Global Address
Size
(Bytes)
Description
0x7F_FF00 â 0x7F_FF07
8
Backdoor Comparison Key
Refer to Section 3.6.1, âUnsecuring the MCU using Backdoor Key Accessâ
0x7F_FF08 â 0x7F_FF0C
5
Reserved
0x7F_FF0D
1
Flash Protection byte
Refer to Section 3.3.2.5, âFlash Protection Register (FPROT)â
0x7F_FF0E
1
Flash Nonvolatile byte
Refer to Section 3.3.2.8, âFlash Control Register (FCTL)â
0x7F_FF0F
1
Flash Security byte
Refer to Section 3.3.2.2, âFlash Security Register (FSEC)â
MC9S12XHZ512 Data Sheet, Rev. 1.06
134
Freescale Semiconductor
|
▷ |