Datasheet

M16C/6S Group Flash Memory Version
R01DS0201EJ0502 Rev.5.02 page 178 of 203
Dec 25, 2012
Full status check
FMR06 =1
and
FMR07=1?
NO
Command
sequence error
YES
FMR07=
0?
YES
Erase error
NO
(1) Execute the Clear Status Register command to
clear these status flags to “0”.
(2) Reexecute the command after checking that it is
entered correctly.
(1) Execute the Clear Status Register command to
clear the erase status flag to “0”.
(2) Reexecute the Block Erase command.
Note 3: If FMR06 or FMR07 = 1, neither the Program nor Block Erase command is accepted.
Execute the Clear Status Register command before executing those commands.
FMR06=
0?
YES
Program error
NO
Full status check completed
Note 1: If the error still occurs, the block in error
cannot be used.
(1) Execute the Clear Status Register command to
clear the erase status flag to “0”.
(2) Reexecute the Program command.
Note 2: If the error still occurs, the block in error
cannot be used.
[During programming]
Figure 1.21.6. Full Status Check and Handling Procedure for Each Error