English
Language : 

MC908AS60ACFU Datasheet, PDF (58/414 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
FLASH-1 Memory
Algorithm for programming
a row (64 bytes) of FLASH memory
1
Set PGM bit
2 Read the FLASH block protect register
3 Write any data to any FLASH address
within the row address range desired
4
Wait for a time, tnvs
5
Set HVEN bit
6
Wait for a time, tpgs
7
Write data to the FLASH address
to be programmed
8
Wait for a time, tPROG
Completed
programming
Y
this row?
N
10
NOTE:
The time between each FLASH address change (step 7 to step 7), or
the time between the last FLASH address programmed
11
to clearing PGM bit (step 7 to step 10)
must not exceed the maximum programming
time, tPROG max.
12
This row program algorithm assumes the row/s
to be programmed are initially erased.
13
Clear PGM bit
Wait for a time, tnvh
Clear HVEN bit
Wait for a time, trcv
End of programming
Figure 4-4. FLASH Programming Algorithm Flowchart
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
58
Freescale Semiconductor