Chapter 18 Memory Mapping Control (S12XMMCV3)
MC9S12XDP512 Data Sheet, Rev. 2.17
Freescale Semiconductor
681
18.4.3
Chip Access Restrictions
18.4.3.1
Illegal XGATE Accesses
A possible access error is agged by the MMC and signalled to XGATE under the following conditions:
XGATE performs misaligned word (in case of load-store or opcode or vector fetch accesses).
XGATE accesses the register space (in case of opcode or vector fetch).
XGATE performs a write to Flash in any modes (in case of load-store access).
XGATE performs an access to a secured Flash in expanded modes (in case of load-store or opcode
or vector fetch accesses).
XGATE performs an access to an unimplemented area (in case of load-store or opcode or vector
fetch accesses).
XGATE performs a write to non-XGATE region in RAM (RAM protection mechanism) (in case
of load-store access).
For further details refer to the XGATE Block Guide.
18.4.3.2
Illegal CPU Accesses
module:
1. XGATE RAM region
2. CPU RAM region
3. Shared Region (XGATE AND CPU)
If the RWPE bit is set the CPU write accesses into the XGATE RAM region are blocked. If the CPU tries
to write the XGATE RAM region the AVIF bit is set and an interrupt is generated if enabled. Furthermore
if the XGATE tries to write to outside of the XGATE RAM or shared regions and the RWPE bit is set, the
write access is suppressed and the access error will be agged to the XGATE module (see
Section 18.4.3.1,The bottom address of the XGATE RAM region always starts at the lowest implemented RAM address.
The values stored in the boundary registers dene the boundary addresses in 256 byte steps. The 256 byte
block selected by any of the registers is always included in the respective region. For example setting the
shared region lower boundary register (RAMSHL) to 0xC1 and the shared region upper boundary register
(RAMSHU) to 0xE0 denes the shared region from address 0x0F_C100 to address 0x0F_E0FF in the
The interrupt requests generated by the MMC are listed in
Table 18-23. Refer to the Device User Guide
for the related interrupt vector address and interrupt priority.
The following conditions must be satised to ensure correct operation of the RAM protection mechanism:
Value stored in RAMXGU must be lower than the value stored in RAMSHL.
Value stored RAMSHL must be lower or equal than the value stored in RAMSHU.