Entering Virtual Flash Emulation Mode - Mitsubishi Electric M32R Series User Manual

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

Advertisement

6

6.7.2 Entering Virtual Flash Emulation Mode

To enter Virtual Flash Emulation Mode, set the Flash Control Register 1 (FCNT1) FEMMOD bit to
1. After entering Virtual Flash Emulation Mode, set the Virtual Flash Bank Register MODEN bit to 1
to enable the Virtual Flash Emulation Function.
In Virtual Flash Emulation Mode also, the internal RAM area (H'0080 4000 through H'0080 DFFF
for the M32170F6, or H'8080 4000 through H'0080 BFFF for the M32170F4 and M32170F3) can be
accessed as internal RAM.
Figure 6.7.15 Virtual Flash Emulation Mode Sequence
Settings completed
Write flash data to RAM
Go to Virtual Flash Emulation
Mode
FEMMOD ← 1
Set RAM location address in
Virtual Flash Bank Register
LBANKADn ← Address A12-A18
SBANKADn ← Address A12-A19
Enable Virtual Flash Emulation
Function
MODENLn ← 1
MODENSn ← 1
Settings completed
6-52
INTERNAL MEMORY
6.7 Virtual Flash Emulation Function
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents