English
Language : 

M306H7MG-XXXFP Datasheet, PDF (301/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H7MG-XXXFP/MC-XXXFP/FGFP
17. 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 to
clear these status flags to “0”.
(2) Reexecute the command after checking that it is
entered correctly.
(1) Execute the Clear Status Register command to
clear the erase status flag to “0”.
(2) Execute the Read Lock Bit Status command to see
if the lock bit for the block in error is “0”. If so, set
the FMR0 register’s FMR02 bit to “1”.
(3) Reexecute the Block Erase command.
Note 1: If the error still occurs, the block in error
cannot be used.
Furthermore, if the lock bit = 1 in (2) above,
the block in error cannot be used either.
FMR06=
0?
YES
NO
Program error
Full status check completed
[During programming]
(1) Execute the Clear Status Register command to
clear the program status flag to “0”.
(2) Execute the Read Lock Bit Status command to see
if the lock bit for the block in error is “0”. If so, set
the FMR0 register’s FMR02 bit to “1”.
(3) Reexecute the Program command.
Note 2: If the error still occurs, the block in error
cannot be used.
Furthermore, if the lock bit = 1 in (2) above,
the block in error cannot be used either.
[During lock bit programming]
(1) Execute the Clear Status Register command to
clear the program status flag to “0”.
(2) Set the FMR0 register’s FMR02 bit to “1”.
(3) Execute the Block Erase command to erase the
block in error.
(4) Reexecute the Lock Bit command.
Note 3: If the error still occurs, the block in error
cannot be used.
Note 4: If FMR06 or FMR07 = 1, any of the Program, Block Erase, Lock Bit Program, or
Read Lock Bit Status command is not accepted. Execute the Clear Status Register
command before executing those commands.
Figure 17.12 Full Status Check and Handling Procedure for Each Error
Rev.2.10 Oct 25, 2006 Page 301 of 326
REJ03B0152-0210