Datasheet

Chapter 19 Module Mapping Control (MMCV4)
MC9S12E128 Data Sheet, Rev. 1.07
552 Freescale Semiconductor
19.3.2.7 Memory Size Register 0 (MEMSIZ0)
Read: Anytime
Write: Writes have no effect
Reset: Defined at chip integration, see device overview section.
The MEMSIZ0 register reflects the state of the register, EEPROM and RAM memory space configuration
switches at the core boundary which are configured at system integration. This register allows read
visibility to the state of these switches.
76543210
R REG_SW0 0 EEP_SW1 EEP_SW0 0 RAM_SW2 RAM_SW1 RAM_SW0
W
Reset ——————
= Unimplemented or Reserved
Figure 19-9. Memory Size Register 0 (MEMSIZ0)
Table 19-7. MEMSIZ0 Field Descriptions
Field Description
7
REG_SW0
Allocated System Register Space
0 Allocated system register space size is 1K byte
1 Allocated system register space size is 2K byte
5:4
EEP_SW[1:0]
Allocated System EEPROM Memory Space — The allocated system EEPROM memory space size is as
given in Table 19-8.
2
RAM_SW[2:0]
Allocated System RAM Memory Space — The allocated system RAM memory space size is as given in
Table 19-9.
Table 19-8. Allocated EEPROM Memory Space
eep_sw1:eep_sw0 Allocated EEPROM Space
00 0K byte
01 2K bytes
10 4K bytes
11 8K bytes
Table 19-9. Allocated RAM Memory Space
ram_sw2:ram_sw0
Allocated
RAM Space
RAM
Mappable Region
INITRM
Bits Used
RAM Reset
Base Address
1
000 2K bytes 2K bytes RAM[15:11] 0x0800
001 4K bytes 4K bytes RAM[15:12] 0x0000
010 6K bytes 8K bytes
2
RAM[15:13] 0x0800
011 8K bytes 8K bytes RAM[15:13] 0x0000
100 10K bytes 16K bytes
2
RAM[15:14] 0x1800