English
Language : 

M16C65 Datasheet, PDF (165/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.
9.2.1 Flash Memory Control Register 0 (FMR0)
9. Power Control
Flash Memory Control Register 0
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
FMR0
Address
0220h
After Reset
0000 0001b (other than user boot mode)
0010 0001b (user boot mode)
Bit Symbol
Bit Name
Function
RW
FMR00 RY/BY status flag
0 : Busy (being written or erased)
1 : Ready
RO
FMR01
CPU rewrite mode select 0 : CPU rewrite mode disabled
bit
1 : CPU rewrite mode enabled
RW
FMR02
Lock bit disable select bit
0 : Lock bit enabled
1 : Lock bit disabled
RW
0 : Flash memory operation enabled
FMSTP Flash memory stop bit
1 : Flash memory operation stopped
(placed in low power mode, flash memory
RW
initialized)
—
(b4)
Reserved bit
—
(b5)
Reserved bit
Set to 0
RW
Set to 0 in other than user boot mode.
Set to 1 in user boot mode.
RW
FMR06 Program status flag
0 : Terminated normally
1 : Terminated in error
RO
FMR07 Erase Status Flag
0 : Terminated normally
1 : Terminated in error
RO
FMR01 (CPU Rewrite Mode Select Bit) (b1)
To set the FMR01 bit to 1, write 0 and then 1 in succession. Make sure no interrupts or DMA transfers
occur before writing 1 after writing 0.
In EW0 mode, write to this bit by a program in any area other than the flash memory.
Enter read array mode first to set this bit to 0.
FMSTP (Flash Memory Stop Bit) (b3)
Write to the FMSTP bit by a program in any area other than the flash memory.
The FMSTP bit is enabled when the FMR01 bit is 1 (CPU rewrite mode). When the FMR01 bit is 0,
although the FMSTP bit can be set to 1, the flash memory is neither placed in low power mode nor
initialized.
When the FMR23 bit is 1 (low current consumption read mode enabled), do not set the FMSTP bit to 1
(flash memory stopped). Also, when the FMSTP bit is 1, do not set the FMR23 bit to 1.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 130 of 791