72
3886 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Fig. 71 Programming/Erasing algorithm flow chart
START
V
CC
= 5 V, V
PP
= V
PP
H
ADRS = first location
X = 0
WRITE PROGRAM
COMMAND
WRITE PROGRAM
DATA
DURATION = 10
μ
s
X = X
+
1
WRITE PROGRAM-VERIFY
COMMAND
40
16
D
IN
C0
16
00
16
DURATION = 6
μ
s
X = 25
LAST ADRS
NO
INC ADRS
WRITE READ COMMAND
V
PP
= V
PP
L
DEVICE
PASSED
DEVICE
FAILED
VERIFY BYTE
VERIFY BYTE
FAIL
FAIL
Program
Erase
YES
YES
NO
PASS
PASS
START
V
CC
= 5 V, V
PP
= V
PP
H
ADRS = first location
X = 0
WRITE ERASE
COMMAND
PROGRAM
ALL BYTES = 00
16
ALL
BYTES = 00
16
WRITE ERASE
COMMAND
DURATION = 9.5 ms
X = X
+
1
WRITE ERASE-VERIFY
COMMAND
20
16
20
16
A0
16
00
16
DURATION = 6
μ
s
X = 1000
LAST ADRS
NO
INC ADRS
WRITE READ COMMAND
V
PP
= V
PP
L
DEVICE
PASSED
DEVICE
FAILED
VERIFY BYTE
VERIFY BYTE
FAIL
FAIL
YES
YES
NO
PASS
PASS
YES
NO