English
Language : 

S912XEG384J3VA Datasheet, PDF (1144/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 29 1024 KByte Flash Module (S12XFTM1024K5V2)
29.3 Memory Map and Registers
This section describes the memory map and registers for the Flash module. Read data from unimplemented
memory space in the Flash module is undefined. Write access to unimplemented or reserved memory space
in the Flash module will be ignored by the Flash module.
29.3.1 Module Memory Map
The S12X architecture places the P-Flash memory between global addresses 0x70_0000 and 0x7F_FFFF
as shown in Table 29-2. The P-Flash memory map is shown in Figure 29-2.
Table 29-2. P-Flash Memory Addressing
Global Address
0x7C_0000 – 0x7F_FFFF
0x7A_0000 – 0x7B_FFFF
0x78_0000 – 0x79_FFFF
0x74_0000 – 0x77_FFFF
0x70_0000 – 0x73_FFFF
Size
(Bytes)
Description
256 K
128 K
128 K
256 K
256 K
P-Flash Block 0
Contains Flash Configuration Field
(see Table 29-3)
P-Flash Block 1N
P-Flash Block 1S
P-Flash Block 2
P-Flash Block 3
The FPROT register, described in Section 29.3.2.9, 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 P-Flash memory map. The higher address region is mainly targeted to hold the boot loader
code since it covers the vector space. Default protection settings as well as security information that allows
the MCU to restrict access to the Flash module are stored in the Flash configuration field as described in
Table 29-3.
Table 29-3. Flash Configuration Field(1)
Global Address
0x7F_FF00 – 0x7F_FF07
0x7F_FF08 –
0x7F_FF0B(2)
0x7F_FF0C2
0x7F_FF0D2
Size
(Bytes)
Description
Backdoor Comparison Key
8
Refer to Section 29.4.2.12, “Verify Backdoor Access Key Command,” and
Section 29.5.1, “Unsecuring the MCU using Backdoor Key Access”
4
Reserved
1
P-Flash Protection byte.
Refer to Section 29.3.2.9, “P-Flash Protection Register (FPROT)”
1
EEE Protection byte
Refer to Section 29.3.2.10, “EEE Protection Register (EPROT)”
1144
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor