Freescale Semiconductor TWR-S12G64 Scalable Platform for Automotive Applications TWR-S12G64-KIT TWR-S12G64-KIT Data Sheet

Product codes
TWR-S12G64-KIT
Page of 1292
192 KByte Flash Module (S12FTMRG192K2V1)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
1091
30.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
 for a
complete description of the reset sequence).
.
30.3.1
Module Memory Map
The S12 architecture places the P-Flash memory between global addresses 0x1_0000 and 0x3_FFFF as
shown in
.
Table 30-2. FTMRG Memory Map
Global Address (in Bytes)
Size
(Bytes)
Description
0x0_0000 - 0x0_03FF
1,024
Register Space
0x0_0400 – 0x0_13FF
4,096
EEPROM Memory
0x0_4000 – 0x0_7FFF
16,284
NVMRES
1
=1 : NVM Resource area (see
1
See NVMRES description in
0x0_4000 – 0x0_FFFF
49,152
FTMRG reserved area
0x1_0000 – 0x3_FFFF
196,608
P-Flash Memory