English
Language : 

MC908GR32AVFAE Datasheet, PDF (57/314 Pages) Freescale Semiconductor, Inc – Microcontrollers
Algorithm for programming
a row (64 bytes) of FLASH memory
FLASH-2 Memory (FLASH-2)
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
YES
PROGRAMMING
THIS ROW?
NO
10
CLEAR PGM BIT
11
WAIT FOR A TIME, tNVH
NOTES:
12
The time between each FLASH address change (step 7 to step 7) or
the time between the last FLASH address programmed to clearing
PGM bit (step 7 to step10) must not exceed the maximum
13
programming time, tPROG, maximum.
This row program algorithm assumes the row/s to be
programmed are initially erased.
CLEAR HVEN BIT
WAIT FOR A TIME, tRCV
END OF PROGRAMMING
Figure 2-10. FLASH-2 Programming Algorithm Flowchart
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
Freescale Semiconductor
57