English
Language : 

MC9S12GRMV1 Datasheet, PDF (1037/1292 Pages) Freescale Semiconductor, Inc – MC9S12G Family Reference Manual and Data Sheet
128 KByte Flash Module (S12FTMRG128K1V1)
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.
CAUTION
Writing to the Flash registers while a Flash command is executing (that is
indicated when the value of flag CCIF reads as ’0’) is not allowed. If such
action is attempted the write operation will not change the register value.
Writing to the Flash registers is allowed when the Flash is not busy
executing commands (CCIF = 1) and during initialization right after reset,
despite the value of flag CCIF in that case (refer to Section 29.6 for a
complete description of the reset sequence).
.
Table 29-2. FTMRG Memory Map
Global Address (in Bytes)
0x0_0000 - 0x0_03FF
Size
(Bytes)
1,024 Register Space
Description
0x0_0400 – 0x0_13FF
4,096 EEPROM Memory
0x0_4000 – 0x0_7FFF
0x2_0000 – 0x3_FFFF
16,284 NVMRES1=1 : NVM Resource area (see Figure 29-3)
131,072 P-Flash Memory
1 See NVMRES description in Section 29.4.3
29.3.1 Module Memory Map
The S12 architecture places the P-Flash memory between global addresses 0x2_0000 and 0x3_FFFF as
shown in Table 29-3.The P-Flash memory map is shown in Figure 29-2.
Table 29-3. P-Flash Memory Addressing
Global Address
0x2_0000 – 0x3_FFFF
Size
(Bytes)
Description
128 K
P-Flash Block
Contains Flash Configuration Field
(see Table 29-4)
Freescale Semiconductor
MC9S12G Family Reference Manual, Rev.1.23
1039