English
Language : 

38K0 Datasheet, PDF (89/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
Full Status Check
By performing full status check, it is possible to know the execu-
tion results of erase and program operations. Figure 121 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. 121 Full status check flowchart and remedial procedure for errors
Rev.3.00 Oct 05, 2006 page 89 of 129
REJ03B0192-0300