English
Language : 

M16C28 Datasheet, PDF (340/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
18. Flash Memory Version
Full status check
FMR06 =1
and
FMR07=1?
NO
FMR07=0?
YES
YES
Command
sequence error
NO
Erase error
(1) Execute the clear status register command and set
the status flag to “0” whether the command is
entered.
(2) Execute the command again after checking that the
correct command is entered or the program
command or the block erase command is not
executed on the protected blocks.
(1) Execute the clear status register command and set
the erase status flag to “0”.
(2) Execute the block erase command again.
(3) Execute (1) and (2) at least 3 times until an erase
error does not occur.
Note 1: If the error still occurs, the block can not be
used.
FMR06=0?
YES
NO
Program error
[During programming]
(1) Execute the clear status register command and set
the program status flag to “0”.
(2) Execute the Program command again.
Note 2: If the error still occurs, the block can not be
used.
Full status check completed
Note 3: If the FMR06 or FMR07 bits is “1”, any of the program or block erase command cannot be
accepted. Execute the clear status register command before executing those commands.
Figure 18.15 Full Status Check and Handling Procedure for Each Error
Rev. 2.00 Jan. 31, 2007 page 320 of 385
REJ09B0047-0200