English
Language : 

MC68HC705P6A Datasheet, PDF (84/130 Pages) Motorola, Inc – HCMOS Microcontroller Unit
EPROM
EPROM device should be positioned about one inch from the UV lamp.
An erased EPROM byte will read as $00.
10.4 EPROM Programming Sequence
The bootloader software goes through a complete write cycle of the
EPROM including the MOR. This is followed by a verify cycle which
continually branches in a loop if an error is found. A sample routine to
program a byte of EPROM is shown in Table 10-1.
NOTE: To avoid damage to the MCU, VDD must be applied to the MCU before
VPP.
10.5 EPROM Registers
Three registers are associated with the EPROM: the EPROM
programming register (EPROG) and the two mask option registers
(MOR). The EPROG register controls the actual programming of the
EPROM bytes and the MOR. The MOR registers control the six mask
options found on the ROM version of this MCU (MC68HC05P6), the
EPROM security feature, and eight additional port A interrupt options.
10.6 EPROM Programming Register (EPROG)
This register is used to program the EPROM array. Only the ELAT and
EPGM bits are available. Table 10-1 shows the location of each bit in the
EPROG register and the state of these bits coming out of reset. All the
bits in the EPROG register are cleared by reset.
Advance Information
84
EPROM
MC68HC705P6A — Rev. 2.0
MOTOROLA