English
Language : 

M37517F8HP Datasheet, PDF (82/98 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
7517 Group
Full Status Check
Results from executed erase and program operations can be
known by running a full status check. Figure 82 shows a flowchart
of the full status check and explains how to remedy errors which
occur.
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 (Erase, program)
Note: When one of SR5 to SR4 is set to “1” , none of the program, erase all blocks
commands is accepted. Execute the clear status register command (5016) before
executing these commands.
Fig. 82 Full status check flowchart and remedial procedure for errors
Rev.1.01 Aug 02, 2004 page 82 of 96