Controlling Operation Mode During Programming Flash - Mitsubishi Electric M32R Series User Manual

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

Advertisement

6

6.5.2 Controlling Operation Mode during Programming Flash

The device's operation modes are set by MOD0, MOD1, and Flash Control Register 1 (FCNT1)
FENTRY bit. The table below lists operation modes that may be set during flash write.
Table 6.5.1 Operation Modes Set during Flash Write
FP
MOD0 MOD1 FENTRY
0
0
1
0
0
1
0
0
1
0
1
0
1
1
1
1
1
0
1
Note: Indicates the FENTRY bit status of Flash Control Register 1 (FCNT1). The bar "—" denotes "Don't Care."
(1) Flash E/W enable mode
Flash E/W enable mode is a mode in which the internal flash memory can be programmed or
erased. In flash E/W enable mode, no programs can be executed in the internal flash memory.
Therefore, before entering flash E/W enable mode, you need to transfer the necessary program
into the internal RAM and run the program in RAM.
Operation Mode
(NOTE)
0
Single-chip mode
0
0
0
Processor mode
1
Extended external mode Start address of
1
0
0
1
Single-chip mode
+ flash E/W enable
0
0
Boot mode
0
1
Boot mode
+ flash E/W enable
1
1
Extended external mode Start address of
+ flash E/W enable
1
reserved
6.5 Programming of the Internal Flash Memory
Reset Vector Entry
Start address of
flash memory
(H'0000 0000)
Start address of
external area
(H'0000 0000)
flash memory
(H'0000 0000)
Start address of
flash memory
(H'0000 0000)
Start address of
boot program area
(H'8000 0000)
Start address of
boot program area
(H'8000 0000)
flash memory
(H'0000 0000)
6-22
INTERNAL MEMORY
EI Vector Entry
Flash area
(H'0000 0080)
External area
(H'0000 0080)
Flash area
(H'0000 0080)
Beginning of
internal RAM
(H'0080 4000)
Flash area
(H'0000 0080)
Beginning of
internal RAM
(H'0080 4000)
Beginning of
internal RAM
(H'0080 4000)
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents