Flash Controle Registers - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6

6.4.3 Flash Controle Registers

Flash Controle Register 1 (FCNT1)
D0
D
Bit Name
0 - 2
No functions assigned
3
FENTRY
(Flash mode entry)
4 - 6
No functions assigned
7
FEMMOD
(Virtual flash emulation mode)
The Flash Control Register 1 (FCNT1) consists of the following two bits to control the internal flash
memory.
(1) FENTRY (Flash Mode Entry) bit (D3)
The FENTRY bit controls entry to flash E/W enable mode. Flash E/W enable mode can be
entered only when FENTRY = 1.
To set the FENTRY bit to 1, write a 0 and then a 1 to the FENTRY bit in succession while the FP
pin = high.
The FENTRY bit is cleared in the following cases:
• When the device is reset
• When a 0 is written to the FENTRY bit
• When the FP pin changes state from high to low
6.4 Registers Associated with the Internal Flash Memory
1
2
3
FENTRY
Function
0 : Normal read
1 : Erase/program enable
0 : Normal mode
1 : Virtual Flash emulation mode
6-8
INTERNAL MEMORY
<Address: H'0080 07E2>
4
5
6
D7
FEMMOD
<When reset : H'00>
R
W
0
0
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents