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