
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 156 of 180
REJ09B0019-0120
F
u
l
l
s
t
a
t
u
s
c
h
e
c
F
M
R
0
6
=
1
a
n
d
F
M
R
0
7
=
1
?
N
o
Y
e
s
FMR07=0?
N
o
Y
e
s
N
O
T
E
S
:
1
.
T
o
r
e
w
r
i
t
e
t
o
t
h
e
a
d
d
r
e
s
s
w
h
e
r
e
t
h
e
p
r
o
g
r
a
m
e
r
r
o
r
o
c
c
u
r
s
,
c
h
e
c
k
i
f
t
h
e
f
u
l
l
s
t
a
t
u
s
c
h
e
c
k
i
s
c
o
m
p
l
e
t
e
n
o
r
m
a
l
l
y
a
n
d
w
r
i
t
e
t
o
t
h
e
a
d
d
r
e
s
s
a
f
t
e
r
t
h
e
b
l
o
c
k
e
r
a
s
e
c
o
m
m
a
n
d
i
s
e
x
e
c
u
t
e
d
.
FMR06=0?
N
o
Y
e
s
Full status check completed
C
o
m
m
a
n
d
s
e
q
u
e
n
c
e
e
r
r
o
r
E
r
a
s
e
e
r
r
o
r
P
r
o
g
r
a
m
e
r
r
o
r
C
o
m
m
a
n
d
s
e
q
u
e
n
c
e
e
r
r
o
r
E
r
a
s
e
e
r
r
o
r
E
x
e
c
u
t
e
t
h
e
c
l
e
a
r
s
t
a
t
u
s
r
e
g
i
s
t
e
r
c
o
m
m
a
n
d
(
s
e
t
t
h
e
s
e
s
t
a
t
u
s
f
l
a
g
s
t
o
0
)
C
h
e
c
k
i
f
c
o
m
m
a
n
d
i
s
p
r
o
p
e
r
l
y
i
n
p
u
t
R
e
-
e
x
e
c
u
t
e
t
h
e
c
o
m
m
a
n
d
Execute the clear status register command
(set these status flags to 0)
Erase command
re-execution times
≤ 3 times?
No
Block targeting for
erasure
cannot be used
Re-execute block erase command
Program error
E
x
e
c
u
t
e
t
h
e
c
l
e
a
r
s
t
a
t
u
s
r
e
g
i
s
t
e
r
c
o
m
m
a
n
d
(
s
e
t
t
h
e
s
e
s
t
a
t
u
s
f
l
a
g
s
t
o
0
)
Specify the other address besides the
write address where the error occurs for
the program address
(1)
Re-execute program command
Yes
Figure 17.12 Full Status Check and Handling Procedure for Each Error
17.4 CPU Rewrite Mode
Commenti su questo manuale