R01UH0092EJ0110 Rev.1.10
Page 660 of 807
Jul 31, 2012
M16C/64C Group
30. Flash Memory
30.3
Registers
30.3.1
Flash Memory Control Register 0 (FMR0)
FMR00 (RY/
BY
status flag) (b0)
This bit indicates the flash memory operating state.
Conditions to become 0:
• When executing the following commands:
Program, block erase, lock bit program, read lock bit status, and block blank check
• When the flash memory stops (the FMSTP bit is 1)
• During the wake up operation when the FMSTP bit is changed from 1 to 0
Condition to become 1:
• Other than those above.
Table 30.4
Registers
Address
Register
Symbol
Reset Value
Flash Memory Control Register 0
0000 0001b (Other than user boot mode)
Flash Memory Control Register 1
Flash Memory Control Register 2
Flash Memory Control Register 3
Flash Memory Control Register 6
b7
0
b6 b5 b4
b1
b2
b3
Symbol
FMR0
Address
0220h
Reset Value
0000 0001b (other than user boot mode)
0010 0001b (user boot mode)
b0
Function
Bit Symbol
Bit Name
RW
Flash Memory Control Register 0
RW
—
(b5)
Reserved bit
Set to 0 in other than user boot mode
Set to 1 in user boot mode
RW
—
(b4)
Reserved bit
Set to 0
RW
FMR01
CPU rewrite mode select
bit
0 : CPU rewrite mode disabled
1 : CPU rewrite mode enabled
RO
FMR00
RY/BY status flag
0 : Busy (being written or erased)
1 : Ready
Flash memory stop bit
RW
FMSTP
0 : Flash memory operation enabled
1 : Flash memory operation stopped
(low power-mode, flash memory initialized)
RW
FMR02
Lock bit disable select bit
0 : Lock bit enabled
1 : Lock bit disabled
RO
FMR07
Erase status flag
0 : Completed as expected
1 : Completed in error
RO
FMR06
Program status flag
0 : Completed as expected
1 : Completed in error
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...