FLASH Memory

FLASH Program/Read Operation

MC68HC908MR16/MC68HC908MR32 — Rev. 4.0 Advance Information

MOTOROLA FLASH Memory 63

Figure 4-2. FLASH Programming Flowchart
SET HVEN BIT
READ THE FLASH BLOCK PROTECT REGISTER
WRITE ANY DATA TO ANY FLASH ADDRESS
WITHIN THE ROW ADDRESS RANGE DESIRED
WAIT FOR A TIME, tNVS
SET PGM BIT
WAIT FOR A TIME, tPGS
WRITE DATA TO THE FLASH ADDRESS
TO BE PROGRAMMED
WAIT FOR A TIME, tPROG
CLEAR PGM BIT
WAIT FOR A TIME, tNVH
CLEAR HVEN BIT
WAIT FOR A TIME, tRCV
COMPLETED
PROGRAMMING
THIS ROW?
YES
NO
END OF PROGRAMMING
The time between each FLASH address change (step 7 to step 7), or
must not exceed the maximum programming
time, tPROG max.
the time between the last FLASH address programmed
to clearing PGM bit (step 7 to step 10)
Note:
1
2
3
4
5
6
7
8
10
11
12
13

ALGORITHM FOR PROGRAMMING

A ROW (64 BYTES) OF FLASH MEMORY

This row program algorithm assu mes the row/s
to be programmed are initially erased.