Renesas M16C/64A Series User Manual page 694

Table of Contents

Advertisement

M16C/64A Group
30.3
Registers
Table 30.4
Registers
Address
0220h
Flash Memory Control Register 0
0221h
Flash Memory Control Register 1
0222h
Flash Memory Control Register 2
0230h
Flash Memory Control Register 6
30.3.1
Flash Memory Control Register 0 (FMR0)
Flash Memory Control Register 0
b7
b6 b5 b4
b3
b2
b1
b0
0
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.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Register
Symbol
FMR0
Bit Symbol
Bit Name
RY/BY status flag
FMR00
CPU rewrite mode select
FMR01
bit
FMR02
Lock bit disable select bit
FMSTP
Flash memory stop bit
Reserved bit
(b4)
Reserved bit
(b5)
FMR06
Program status flag
FMR07
Erase status flag
Symbol
0000 0001b (Other than user boot mode)
FMR0
0010 0001b (User boot mode)
FMR1
FMR2
FMR6
Address
0000 0001b (other than user boot mode)
0220h
0010 0001b (user boot mode)
Function
0 : Busy (being written or erased)
1 : Ready
0 : CPU rewrite mode disabled
1 : CPU rewrite mode enabled
0 : Lock bit enabled
1 : Lock bit disabled
0 : Flash memory operation enabled
1 : Flash memory operation stopped
(low power-mode, flash memory initialized)
Set to 0
Set to 0 in other than user boot mode
Set to 1 in user boot mode
0 : Completed as expected
1 : Completed in error
0 : Completed as expected
1 : Completed in error
30. Flash Memory
Reset Value
00X0 XX0Xb
XXXX 0000b
XX0X XX00b
Reset Value
RW
RO
RW
RW
RW
RW
RW
RO
RO
Page 661 of 800

Advertisement

Table of Contents
loading

Table of Contents