![](http://datasheet.mmic.net.cn/110000/MC68HC705G4_datasheet_3506447/MC68HC705G4_41.png)
Page 31
Section 3: MEMORY
MOTOROLA
MC68HC05G3 (705G4) Specification Rev. 1.1
3.2
RAM
The 768-byte internal RAM is positioned at $0040 through $033F in the memory map. (The
1024-byte internal RAM for MC68HC705G4 is positioned at $0040 through $043F.) The
first 192 bytes of memory positioned in page zero are accessible by the direct addressing
mode, but the upper 64 bytes of page zero are used for the CPU stack area. Extreme
caution should be taken if the stack area is used for data storage.
The RAM is implemented with static cells and retains its contents during the stop and wait
modes.
3.3
SELF-CHECK ROM (MC68HC05G3)
Self-check ROM is the 496 bytes of mask ROM positioned at $FE00 through $FFEF. This
ROM contains self-check programs and reset/interrupt vectors in the self-check mode.
3.4
BOOT ROM (MC68HC705G4)
Boot ROM is the 496 bytes of mask ROM positioned at $FE00 through $FFEF. This ROM
contains bootstrap programs and reset/ interrupt vectors in the bootstrap mode. The
programs include:
EPROM programming and verify
Dumping EPROM contents
Reading program into the internal RAM
Executing program in the internal RAM
3.5
MASK ROM (MC68HC05G3)
The 24K-byte user ROM is positioned at $1000 through $6FFF, and additional 16-byte
ROM is located at $FFF0 through $FFFF for user vectors. In this mask ROM device, the
VPP pin is not used and the program control register (PCR) is not implemented.
3.6
EPROM (MC68HC705G4)
The 32K-byte EPROM is positioned at $1000 through $8FFF, and additional 16-byte
EPROM is located at $FFF0 through $FFFF for user vectors. The erased state of EPROM
is read as $FF, and EPROM power is supplied from VPP and VDD pins.
The program control register (PCR) is provided for EPROM programming. EPROM
functions are dependent on the device mode.
In user mode, ELAT and PGM bits in the PCR are available for the user programming. The
VPP pin should be tied to 5 V or programming voltage.
In the bootstrap mode, all bits of the PCR register are available for the purpose of EPROM
programming. The VPP pin should be tied to 5 V or programming voltage.