English
Language : 

M16C65 Datasheet, PDF (753/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
30. Flash Memory
30.8.4.8 Block Blank Check Command
The block blank check command is used to check whether or not a specified block is blank (state
after erase).
By writing xx25h in the first bus cycle and xxD0h in the second bus cycle to the highest-order even
address of a block, the check result is stored in the FMR07 bit in the FMR0 register. Read the FMR07
bit after the FMR00 bit in the FMR0 register is set to 1 (ready).
The block blank check command is valid for unlocked blocks.
If the block blank check command is executed on a block whose lock bit is 0 (locked), the FMR07 bit
(SR5) is set to 1 (not blank) regardless of the FMR02 bit state.
Figure 30.7 shows a Flow Chart of the Block Blank Check Command Programming.
Start
Write the command code xx25h
Write xxD0h to the highest-
order block address
FMR00 = 1? NO
YES
FMR07 = 1? NO
YES
Blank
Not blank
Note:
1. Write the command code and data to even addresses.
Figure 30.7 Block Blank Check Command
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 718 of 791