
Operating Modes
Internal Resource Mapping
MC68HC912DG128 — Rev 3.0
Technical Data
MOTOROLA
Operating Modes
87
5.5.7 Test mode Program space expansion
In special mode and for test purposes only, the 128K bytes of Flash
EEPROM can be accessed through a test program space window of 32K
bytes. This window replaces the user’s program space window to be
able to access an entire array. In special mode and with ROMTST bit set
in MISC register, a program space is located from $8000 to $FFFF. Only
two page indices are used to point to one of the four 32K byte arrays.
They can be viewed as expanded addresses X16 and X15.
5.5.8 Page Index register descriptions
Read and write anytime
Writing to the port does not change the pin states when it is configured
for page index emulation output.
This port is associated with the page index emulation pins. When the
port is not enabled to emulate page index, the port pins are used as
general-purpose I/O. Port K bit 3 is always a general purpose I/O pin.
This register is not in the memory map in peripheral or expanded modes
when the EMK control bit in MODE register is set.
Table 5-5. Test mode program space Page Index
Page Index 2
(PPAGE bit 2)
0
0
1
1
Page Index 1
(PPAGE bit 1)
0
1
0
1
Page Index 0
(PPAGE bit 0)
X
X
X
X
Flash register space Page
Flash array
32K byte array Page 0
32K byte array Page 1
32K byte array Page 2
32K byte array Page 3
00FEE32K
01FEE32K
10FEE32K
11FEE32K
PORTK
— Port K Data Register
$00FC
Bit 7
6
5
4
3
2
1
Bit 0
PORT
PK7
0
0
0
PK3
PK2
PK1
PK0
Emulation
ECS
0
0
0
-
PIX2
PIX1
PIX0
RESET:
-
0
0
0
-
-
-
-
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.