Freescale Semiconductor, Inc.
Operating Modes
Internal Resource Mapping
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.
Table 5-5. Test mode program space Page Index
Page Index 2 Page Index 1 Page Index 0
(PPAGE bit 2) (PPAGE bit 1) (PPAGE bit 0)
Flash register space Page
Flash array
0
0
1
1
0
1
0
1
X
X
X
X
32K byte array Page 0
32K byte array Page 1
32K byte array Page 2
32K byte array Page 3
00FEE32K
01FEE32K
10FEE32K
11FEE32K
5.5.8 Page Index register descriptions
PORTK — Port K Data Register
$00FC
Bit 7
PK7
ECS
-
6
0
0
0
5
0
0
0
4
0
0
0
3
2
PK2
PIX2
-
1
PK1
PIX1
-
Bit 0
PK0
PIX0
-
PORT
Emulation
RESET:
PK3
-
-
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.
MC68HC912DG128 — Rev 3.0
Technical Data
Operating Modes
For More Information On This Product,
Go to: www.freescale.com