Datasheet
MC68HC908QY4•MC68HC908QT4•MC68HC908QY2•MC68HC908QT2•MC68HC908QY1•MC68HC908QT1
52 FLASH Memory (FLASH) MOTOROLA
FLASH Memory (FLASH)
NON-DISCLOSURE AGREEMENT REQUIRED
Figure 4-2. 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 9),
must not exceed the maximum programming
time, t
PROG
max.
or the time between the last FLASH address programmed
to clearing PGM bit (step 6 to step 9)
NOTES:
1
3
4
5
6
7
8
10
11
12
13
Algorithm for Programming
a Row (32 Bytes) of FLASH Memory
This row program algorithm assumes the row/s
to be programmed are initially erased.
9
READ THE FLASH BLOCK PROTECT REGISTER
2