Flash Programming Flowchart - Motorola MC68HC908GP32 Technical Data Manual

Table of Contents

Advertisement

Algorithm for programming
a row (64 bytes) of FLASH memory
NOTE:
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)
must not exceed the maximum programming
time, t
max.
PROG
This row program algorithm assumes the row/s
to be programmed are initially erased.
MC68HC908GP32
MC68HC08GP32
MOTOROLA
Freescale Semiconductor, Inc.
1
2
Read the FLASH block protect register
3
Write any data to any FLASH address
within the row address range desired
4
5
6
7
8
Figure 11-2. FLASH Programming Flowchart
Rev. 6
FLASH Memory
For More Information On This Product,
Go to: www.freescale.com
Set PGM bit
Wait for a time, t
nvs
Set HVEN bit
Wait for a time, t
pgs
Write data to the FLASH address
to be programmed
Wait for a time, t
PROG
Completed
Y
programming
this row?
N
10
11
12
13
FLASH Memory
FLASH Block Protection
Clear PGM bit
Wait for a time, t
nvh
Clear HVEN bit
Wait for a time, t
rcv
End of programming
Technical Data
171

Advertisement

Table of Contents
loading

Table of Contents