English
Language : 

38K2 Datasheet, PDF (107/151 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K2 Group
Full Status Check
By performing full status check, it is possible to know the execu-
tion results of erase and program operations. Figure 151 shows a
full status check flowchart and the action to be taken when each
error occurs.
Read status register
SR4 = 1 and YES
SR5 = 1 ?
Command
sequence error
NO
NO
SR5 = 0 ?
YES
NO
SR4 = 0 ?
YES
Erase error
Program error
Execute the clear status register command (5016)
to clear the status register. Try performing the
operation one more time after confirming that the
command is entered correctly.
Should an erase error occur, the block in error
cannot be used.
Should a program error occur, the block in error
cannot be used.
End (block erase, program)
Note: When one of SR5 and SR4 is set to “1”, none of the program, erase all blocks,
and block erase commands is accepted. Execute the clear status register
command (5016) before executing these commands.
Fig. 151 Full status check flowchart and remedial procedure for errors
Rev.3.00 Oct 15, 2006 page 107 of 147
REJ03B0193-0300