English
Language : 

M16C65 Datasheet, PDF (754/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.5 Status Register
The status register indicates flash memory operating state and whether or not an erase or program
operation has completed as expected.
Bits FMR00, FMR06, and FMR07 in the FMR0 register indicate status register states.
In EW0 mode, the status register can be read in one of the following cases.
• Any even address in program ROM 1, program ROM 2, or data flash is read after the read status
register command is written.
• Any even address in the program ROM 1, program ROM 2, or data flash is read from when the
program command, block erase command, lock bit program command, or block blank check
command is executed until when the read array command is executed.
Table 30.15 shows Status Register.
Table 30.15 Status Register
Bits in Status Bit in FMR0
Register
Register
Status
Definition
0
1
SR0 (D0)
-
Reserved bit
-
-
SR1 (D1)
-
Reserved bit
-
-
SR2 (D2)
-
Reserved bit
-
-
SR3 (D3)
-
Reserved bit
-
-
SR4 (D4)
FMR06
Program status Completed as
Completed in error
expected
SR5 (D5)
FMR07
Erase status
Completed as
Completed in error
expected
SR6 (D6)
-
Reserved bit
-
-
SR7 (D7)
FMR00
Sequencer status Busy
Ready
D0 to D7: The data buses read when the read status register command is executed.
Value after
Reset
-
-
-
-
0
0
-
1
30.8.5.1 Sequencer Status (Bits SR7 and FMR00)
The sequencer status indicates flash memory operating state.
Condition to become 0:
• During the following commands execution:
Program, block erase, lock bit program, read lock bit status, block blank check
Condition to become 1:
• Other than those above
30.8.5.2 Erase Status (Bits SR5 and FMR07)
The erase status indicates auto erase state.
Condition to become 0:
• Execute the clear status command
Condition to become 1:
• Refer to 30.8.5.4 “Full Status Check”.
When the FMR07 bit is 1, the following commands cannot be accepted:
Program, block erase, lock bit program, read lock bit status, block blank check
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 719 of 791