English
Language : 

M16C65 Datasheet, PDF (733/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.3 Registers
Table 30.4 Register Structure
Address
0220h
Register Name
Flash Memory Control Register 0
0221h
0222h
0223h
0230h
Flash Memory Control Register 1
Flash Memory Control Register 2
Flash Memory Control Register 3
Flash Memory Control Register 6
Register Symbol
FMR0
FMR1
FMR2
FMR3
FMR6
After Reset
0000 0001b (Other than user boot mode)
0010 0001b (User boot mode)
00X0 XX0Xb
XXXX 0000b
XXXX 0000b
XX0X XX00b
30.3.1 Flash Memory Control Register 0 (FMR0)
Flash Memory Control Register 0
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
FMR0
Bit Symbol
Bit Name
Address
0220h
After Reset
0000 0001b (other than user boot mode)
0010 0001b (user boot mode)
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
FMSTP Flash memory stop bit
0 : Flash memory operation enabled
1 : Flash memory operation stopped
RW
(low power-mode, flash memory 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 : Completed as expected
1 : Completed in error
RO
FMR07 Erase Status Flag
0 : Completed as expected
1 : Completed in error
RO
FMR00 (RY/BY Status Flag) (b0)
This bit indicates the flash memory operating state.
Condition to become 0:
During the following commands execution:
Program, block erase, lock bit program, read lock bit status, and block blank check
Condition to become 1:
Other than those above.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 698 of 791