English
Language : 

MC68HC908MR8 Datasheet, PDF (61/372 Pages) Motorola, Inc – Microcontrollers
FLASH Memory
FLASH Programming Algorithm
Note:
This page program algorithm assumes the rows to be
programmed are initially erased.
PROGRAM FLASH
SET PGM BIT
READ FLASH BLOCK
PROTECT REGISTER
WRITE ANY DATA TO
SELECTED PAGE
WAIT FOR A TIME, tNVS
SET HVEN BIT
WAIT FOR A TIME, tPGS
WRITE DATA TO THE FLASH
ADDRESS TO BE PROGRAMMED
WAIT FOR A TIME, tPROG
NO
COMPLETED
PROGRAMMING
THIS ROW?
YES
CLEAR PGM BIT
WAIT FOR A TIME, tPROG
Note:
The time between each address change, or the time
between the last FLASH address programmed to clear
the PGM bit, must not exceed the maximum
programming time, tPROG.
CLEAR HVEN BIT
WAIT FOR A TIME, TPROG
PROGRAMMING OPERATION
COMPLETE
Figure 4-2. FLASH Programming Algorithm
MC68HC908MR8 — Rev 4.1
Freescale Semiconductor
FLASH Memory
Technical Data
61