English
Language : 

MC908KX2MDWE Datasheet, PDF (35/210 Pages) Freescale Semiconductor, Inc – High-performance M68HC08 architecture, Fully upward-compatible object code with M6805, M146805, and M68HC05 Families
FLASH Program/Read Operation
Algorithm for programming
1
a row (32 bytes) of FLASH memory
2
SET PGM BIT
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
Notes:
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 maximum.
This row program algorithm assumes the row/s
to be programmed are initially erased.
WAIT FOR A TIME, tNVH
CLEAR HVEN BIT
WAIT FOR A TIME, tRCV
END OF PROGRAMMING
Figure 2-4. FLASH Programming Flowchart
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
Freescale Semiconductor
35