103
7641 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINARY
Notice: This is not a final specification.
change.
Some parametric limits are subject to
Fig. 88 Block diagram of built-in flash memory
(1) CPU Rewrite Mode
In CPU rewrite mode, the internal flash memory can be operated
on (read, program, or erase) under control of the Central Process-
ing Unit (CPU).
In CPU rewrite mode, only the User ROM area shown in Figure 88
can be rewritten; the Boot ROM area cannot be rewritten. Make
sure the program and block erase commands are issued for only
the User ROM area and each block area.
The control program for CPU rewrite mode can be stored in either
User ROM or Boot ROM area. In the CPU rewrite mode, because
the flash memory cannot be read from the CPU, the rewrite con-
trol program must be transferred to internal RAM area to be
executed before it can be executed.
Microcomputer Mode and Boot Mode
The control program for CPU rewrite mode must be written into
the User ROM or Boot ROM area in parallel I/O mode beforehand.
(If the control program is written into the Boot ROM area, the stan-
dard serial I/O mode becomes unusable.)
See Figure 88 for details about the Boot ROM area.
Normal microcomputer mode is entered when the microcomputer
is reset with pulling CNV
SS
pin low. In this case, the CPU starts
operating using the control program in the User ROM area.
When the microcomputer is reset by pulling the P8
1
pin high, the
CNV
SS
pin high, the CPU starts operating using the control pro-
gram in the Boot ROM area. This mode is called the “Boot” mode.
Block Address
Block addresses refer to the maximum address of each block.
These addresses are used in the block erase command.
E0
F
F
0
F
0
1
F
1
6
U
s
e
r
R
O
M
a
r
e
a
4
Kb
y
t
e
s
6
Boot ROM area
N
o
t
e
s
1
:
T
a
T
h
r
e
o
e
a
s
B
s
p
o
i
e
o
i
t
i
f
R
h
a
O
i
b
M
i
t
b
l
a
d
c
r
.
k
e
)
,
a
c
a
n
b
e
r
e
w
r
i
t
t
e
n
i
n
o
n
l
y
p
a
r
a
l
l
e
l
I
/
O
m
o
d
e
.
(
A
c
c
e
s
s
t
o
a
n
y
o
t
h
e
r
s
c
n
y
e
o
2
:
u
s
e
t
h
e
m
a
x
i
m
u
m
a
d
d
r
e
s
s
i
n
t
h
e
b
l
o
c
k
.
P
a
r
a
l
l
e
l
I
/
O
m
o
d
e
C
P
U
r
e
w
r
i
t
e
m
o
d
e
,
s
t
a
n
d
a
r
d
s
e
r
i
a
l
I
/
O
m
o
d
e
BSEL = 0
BSEL = 1
User area / Boot area select bit =
“
0
”
User area / Boot area select bit =
“
1
”
C0
0
0
1
6
Block 1 : 8 Kbytes
Block 2 : 16 Kbytes
Block 0 : 8 Kbytes
8000
16
F000
16
FFFF
16
E0
F
F
0
F
0
1
F
1
6
User ROM area
4
Kb
y
t
e
s
6
B
o
o
t
R
O
M
a
r
e
a
C0
0
0
1
6
Block 1 : 8 Kbytes
Block 2 : 16 Kbytes
Block 0 : 8 Kbytes
80
0
0
1
6
F000
16
FFFF
16