AN1836 Motorola / Freescale Semiconductor, AN1836 Datasheet - Page 9

no-image

AN1836

Manufacturer Part Number
AN1836
Description
FLASH Programming for Motorola MC68HC912 Microcontrollers
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
Programming the FLASH Array
AN1836
MOTOROLA
Programming the FLASH EEPROM is accomplished by this step-by-
step procedure. The V
executing step 4 the first time.
The flowchart in
programming sequence.
10. If the location is programmed, repeat the same number of pulses
11. Read the address location to verify that it remains programmed.
12. Clear LAT.
13. If there are more locations to program, repeat steps 2 through 10.
14. Turn off V
1. Apply program/erase voltage to the V
2. Clear ERAS and set the LAT bit in the FEECTL register to
3. Write data to a valid address. The address and data are latched.
4. Apply programming voltage by setting ENPE.
5. Delay for one programming pulse, t
6. Remove programming voltage by clearing ENPE.
7. Delay while high voltage is turning off, t
8. Read the address location to verify that it has been programmed.
9. If the location is not programmed, repeat steps 4 through 7 until
establish program mode and enable programming address and
data latches.
If BOOTP is asserted, an attempt to program an address in the
boot block will be ignored.
the location is programmed or until the specified maximum
number of program pulses, n
as required to program the location. This provides 100 percent
program margin.
FP
Figure 7
. Reduce voltage on V
FP
pin voltage must be at the proper level prior to
demonstrates the recommended
PP
, has been reached.
FP
PPULSE
FP
pin to V
Programming the FLASH Array
VPROG
pin.
.
DD
.
.
Application Note
9

Related parts for AN1836