Renesas M16C/62P Series Hardware Manual page 292

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Flash Memory Control Register 0
b7 b6 b5 b4
b3 b2 b1 b0
0
NOTES :
1.
To set this bit to "1," w rite "0" and then "1" in succession. Make sure no interrupts or DMA transfers w ill occur
before w riting "1" after w riting "0".
Write to this bit w hen the NMI
than the flash memory.
Enter read array mode and set this bit to "0".
2.
To set this bit to "1," w rite "0" and then "1" in succession w hen the FMR01 bit = 1. Make sure no interrupts or no
DMA transfers w ill occur before w riting "1" after w riting "0".
3.
Write to this bit from a program in other than the flash memory.
4.
This flag is cleared to "0" by executing the Clear Status command.
5.
Effective w hen the FMR01 bit = 1 (CPU rew rite mode). If the FMR01 bit = 0, although the FMR03 bit can be set to "1"
by w riting "1" in a program, the flash memory is neither placed in low pow er mode nor initialized.
6.
This status includes w riting or reading w ith the Lock Bit Program or Read Lock Bit Status command.
Figure 22.5
FMR0 Register
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
Symbol
Address
01B7h
FMR0
Bit Symbol
Bit Name
___
RY/BY
Status Flag
FMR00
CPU Rew rite Mode Select
FMR01
(1)
Bit
Lock Bit Disable Select Bit
FMR02
Flash Memory Stop Bit
FMSTP
Reserved Bit
(b4)
User ROM Area Select Bit
FMR05
(Effective in Only Boot Mode)
Program Status Flag
FMR06
Erase Status Flag
FMR07
____
pin is in the high state. Also, w hile in EW0 mode, w rite to this bit from a program in
Page 277 of 390
提供单片机解密、IC解密、芯片解密业务
0 : Busy (being w ritten or erased)
1 : Ready
0 : Disables CPU rew rite mode
1 : Enables CPU rew rite mode
(2)
0 : Enables lock bit
1 : Disables lock bit
(3, 5)
0 : Enables flash memory operation
1 : Stops flash memory operation
(placed in low pow er mode, flash memory
initialized)
Set to "0"
(3)
0 : Boot ROM area is accessed
1 : User ROM area is accessed
(4)
0 : Terminated normally
1 : Terminated in error
(4)
0 : Terminated normally
1 : Terminated in error
22. Flash Memory Version
After Reset
00000001b
Function
010-62245566 13810019655
RW
RO
RW
RW
RW
RW
RW
RO
RO

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents