Renesas M16C FAMILY Hardware Manual page 164

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
Flash memory control register 0
b7 b6 b5 b4 b3 b2 b1 b0
0
0
Notes:
1. To set this bit to "1", write "0" and then "1" in succession. Make sure no interrupts will occur before
writing "1" after writing "0".
Set the microcomputer in read array mode before writing to this bit.
2. To set this bit to "1", write "0" and then "1" in succession when the FMR01 bit = 1. Make sure no
interrupts will occur before writing "1" after writing "0".
3. Write to this bit from a program in other than the flash memory.
4. This flag is set to "0" by executing the Clear Status command.
5. Effective when the FMR01 bit = 1 (CPU rewrite mode). If the FMR01 bit = 0, although the FMSTP bit
can be set to "1" by writing "1", the flash memory is neither placed in low power mode nor initialized.
Figure 17.3 FMR0 Register
Rev.0.91
2003 Sep 08
Symbol
FMR0
Bit symbol
FMR00
RY/BY status flag
CPU rewrite mode select bit
FMR01
Block1, 0 rewrite enable bit
FMR02
Flash memory stop bit
FMSTP
Reserved bit
(b5-b4)
FMR06
Program status flag
FMR07
Erase status flag
page 154 of 184
Address
After reset
01B7
XX000001
16
Bit name
0: Busy (being written or erased)
1: Ready
1
0: Disables CPU rewrite mode
1: Enables CPU rewrite mode
0: Enables lock bit
2
1: Disables lock bit
0: Enables flash memory operation
3, 5
1: Stops flash memory operation
(placed in low power mode,
flash memory initialized)
Must set to "0"
4
0: Terminated normally
1: Terminated in error
0: Terminated normally
4
1: Terminated in error
17.4 CPU Rewrite Mode
2
Function
RW
RO
RW
RW
RW
RW
RO
RO

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents