18.10 Flash Memory Programming and Erasing Precautions
(1) Program with the specified voltages and timing.
The programming voltage (V
PP
) of the flash memory is 12.0 V.
If the PROM programmer is set to Hitachi HN28F101 specifications, V
PP
will be 12.0 V. Applied
voltages in excess of the rating can permanently damage the device. Insure, in particular, that
peak overshoot at the Vpp and MD2 pins does not exceed the maximum rating of 13 V. Also, be
very careful about PROM programmer overshoot.
(2) Before programming, check that the chip is correctly mounted in the PROM programmer.
Overcurrent damage to the device can result if the index marks on the PROM programmer socket,
socket adapter, and chip are not correctly aligned.
(3) Don’t touch the socket adapter or chip while programming. Touching either of these can
cause contact faults and write errors.
(4) Precautions in turning the programming voltage (V
PP
) on and off:
(a) Apply the programming voltage (V
PP
) after the rise of V
CC
, when the microcontroller is in a
stable condition. Shut off V
PP
before V
CC
, again while the microcontroller is in a stable condition.
If V
PP
is turned on or off while V
CC
is not within its rated voltage range (V
CC
= 2.7 to 5.5 V),
since microcontroller operation is unstable and flash memory protection is not functioning, the
flash memory may be programmed or erased by mistake. This can occur even if V
CC
= 0 V. The
same danger of incorrect programming or erasing exists when V
CC
is within its rated voltage
range (V
CC
= 2.7 to 5.5 V) if the clock oscillator has not stabilized, if the clock oscillator has
stopped (except in standby), or if a program runaway has occurred. After V
CC
power-up, do not
apply V
PP
until the clock oscillator has had time to settle (t
OSC1
= 20 ms min) and the
microcontroller is safely in the reset state, or the reset has been cleared.
These power-on and power-off timing requirements should also be satisfied in the event of a
power failure and recovery from a power failure. If these requirements are not satisfied, the flash
memory may not only be unintentionally programmed or erased; it may be permanently damaged.
624