Renesas M16C/60 Series Hardware Manual page 292

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Full status check
FMR06 = 1
and
FMR07 = 1?
NO
FMR07 = 0?
YES
FMR06 = 0?
YES
Full status check completed
Note 4: If FMR06 or FMR07 = 1, any of the Program, Block Erase, Erase All Unlocked
Block, Lock Bit Program, or Read Lock Bit Status command is not accepted.
Execute the Clear Status Register command before executing those commands.
Figure 1.22.12 Full Status Check and Handling Procedure for Each Error
Rev.1.00
2003.05.30
page 278
YES
Command
sequence error
NO
Erase error
NO
Program error
(1) Execute the Clear Status Register command to set
status flags to "0".
(2) Reexecute the command after checking that it is
entered correctly.
(1) Execute the Clear Status Register command to set
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 or Erase All
Unlocked Block 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.
[During programming]
(1) Execute the Clear Status Register command to set
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 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 set
the erase 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.
Flash Memory
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents