English
Language : 

MC68HC908QY4CDW Datasheet, PDF (37/184 Pages) Freescale Semiconductor, Inc – Microcontrollers
Algorithm for Programming
a Row (32 Bytes) of FLASH Memory
1
SET PGM BIT
FLASH Memory (FLASH)
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
Y
9
PROGRAMMING
THIS ROW?
N
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 step 10)
13
must not exceed the maximum programming
time, tPROG max.
This row program algorithm assumes the row/s
to be programmed are initially erased.
Figure 2-4. FLASH Programming Flowchart
CLEAR HVEN BIT
WAIT FOR A TIME, tRCV
END OF PROGRAMMING
MC68HC908QY/QT Family Data Sheet, Rev. 6
Freescale Semiconductor
37