English
Language : 

MC68HC908GT16_07 Datasheet, PDF (44/292 Pages) Freescale Semiconductor, Inc – Microcontrollers
Memory
Algorithm for programming
1
a row (32 bytes) of FLASH memory
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
Y
PROGRAMMING
THIS ROW?
N
10
CLEAR PGM BIT
11
WAIT FOR A TIME, tNVH
Note:
The time between each Flash address change (step 7 to step 7),
12
or the time between the last Flash address programmed
to clearing PGM bit (step 7 to step 10)
must not exceed the maximum programming
13
time, tPROG max.
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-4. Flash Programming Flowchart
MC68HC908GT16 • MC68HC908GT8 • MC68HC08GT16 Data Sheet, Rev. 5.0
44
Freescale Semiconductor