Memory
1
2
Set PGM bit
Algorithm for programming
a row (64 bytes) of FLASH memory
Write any data to any FLASH address
within the row address range desired
3
4
5
Wait for a time, tnvs
Set HVEN bit
Wait for a time, tpgs
6
7
Write data to the FLASH address
to be programmed
Wait for a time, tprog
Completed
Y
programming
this row?
N
9
Clear PGM bit
Wait for a time, tnvh
Clear HVEN bit
NOTE:
The time between each FLASH address change (step 6 to step 6), or
the time between the last FLASH address programmed
to clearing PGM bit (step 6 to step 9)
10
11
12
must not exceed the maximum programming
time, tPROG max.
This row program algorithm assumes the row/s
to be programmed are initially erased.
Wait for a time, trcv
End of Programming
Figure 2-4. FLASH Programming Flowchart
MC68HC908AP Family Data Sheet, Rev. 4
46
Freescale Semiconductor