R8C/13 Group
17.4 CPU Rewrite Mode
Command sequence error
Full status check
Execute the clear status register command
(set these status flags to 0)
FMR06 =1
and
FMR07=1?
Yes
Check if command is properly input
Re-execute the command
Command sequence error
No
Yes
Erase error
FMR07=0?
No
Erase error
Execute the clear status register command
(set these status flags to 0)
Block targeting for
erasure
cannot be used
Erase command
re-execution times
≤ 3 times?
No
Yes
FMR06=0?
No
Program error
Yes
Re-execute block erase command
Program error
Execute the clear status register command
(set these status flags to 0)
Specify the other address besides the
write address where the error occurs for
the program address (1)
Full status check completed
NOTES:
Re-execute program command
1. To rewrite to the address where the program error occurs,
check if the full status check is complete normally and write to
the address after the block erase command is executed.
Figure 17.12 Full Status Check and Handling Procedure for Each Error
Rev.1.20 Jan 27, 2006 page 181 of 205
REJ09B0111-0120