mc68hc908qb4 Freescale Semiconductor, Inc, mc68hc908qb4 Datasheet - Page 35

no-image

mc68hc908qb4

Manufacturer Part Number
mc68hc908qb4
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
NOTES:
Algorithm for Programming
a Row (32 Bytes) of FLASH Memory
The time between each FLASH address change (step 7 to step 7 loop),
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
This row program algorithm assumes the row/s
to be programmed are initially erased.
PROG
max.
Figure 2-4. FLASH Programming Flowchart
MC68HC908QB8 Data Sheet, Rev. 2
2
1
3
4
5
6
7
8
READ THE FLASH BLOCK PROTECT REGISTER
WITHIN THE ROW ADDRESS RANGE DESIRED
WRITE ANY DATA TO ANY FLASH ADDRESS
9
WRITE DATA TO THE FLASH ADDRESS
WAIT FOR A TIME, t
TO BE PROGRAMMED
WAIT FOR A TIME, t
WAIT FOR A TIME, t
PROGRAMMING
SET HVEN BIT
SET PGM BIT
COMPLETED
THIS ROW?
N
PROG
10
11
12
13
NVS
PGS
Y
END OF PROGRAMMING
WAIT FOR A TIME, t
WAIT FOR A TIME, t
CLEAR HVEN BIT
CLEAR PGM BIT
FLASH Memory (FLASH)
NVH
RCV
35

Related parts for mc68hc908qb4