
91
3803/3804 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
FLASH MEMORY MODE
The 3803/3804 group has the flash memory mode in addition to
the normal operation mode (microcomputer mode). The user can
use this mode to perform read, program, and erase operations for
the internal flash memory.
The 3803/3804 group has three modes the user can choose: the
parallel input/output and serial input/output mode, where the flash
memory is handled by using the external programmer, and the
CPU reprogramming mode, where the flash memory is handled by
the central processing unit (CPU). The following explains these
modes.
(1) Flash memory mode 1 (parallel I/O mode)
The parallel I/O mode can be selected by connecting wires as
shown in Figures 86, 87 and supplying power to the V
CC
and V
PP
pins. In this mode, the M38039FFSP/FP/HP operates as an
equivalent of MITSUBISHI
’
s CMOS flash memory M5M28F101.
However, because the M38039FFSP/FP/HP
’
s internal memory
has a capacity of 60 Kbytes, programming is available for ad-
dresses 01000
16
to 0FFFF
16
, and make sure that the data in
addresses 00000
16
to 00FFF
16
and addresses 10000
16
to
1FFFF
16
are FF
16
. Note also that the M38039FFSP/FP/HP does
not contain a facility to read out a device identification code by ap-
plying a high voltage to address input (A9). Be careful not to
erratically set program conditions when using a general-purpose
PROM programmer.
Table 16 shows the pin assignments when operating in the paral-
lel input/output mode.
Table 16 Pin assignments of M38039FFSP/FP/HP when
operating in the parallel input/output mode
V
CC
V
PP
V
SS
Address input
Data I/O
___
___
M38039FFSP/FP/HP
V
CC
CNV
SS
V
SS
Ports P0, P1, P3
1
Port P2
P3
6
P3
7
P3
3
M5M28F101
V
CC
V
PP
V
SS
A
0
–
A
16
D
0
–
D
7
CE
___
Functional Outline (parallel input/output mode)
In the parallel input/output mode, the 3803/3804 group allow the
user to choose an operation mode between the read-only mode
and the read/write mode (software command control mode) de-
pending on the voltage applied to the V
PP
pin. When V
PP
= V
PP
L,
the read-only mode is selected, and the user can choose one of
three states (e.g., read, output disable, or standby) depending on
inputs to the CE, OE, and WE pins. When V
PP
= V
PP
H, the read/
write mode is selected, and the user can choose one of four states
(e.g., read, output disable, standby, or write) depending on inputs
to the CE, OE, and WE pins. Table 17 shows assignment states of
control input and each state.
G
Read
The microcomputer enters the read state by driving the CE, and
OE pins low and the WE pin high; and the contents of memory
corresponding to the address to be input to address input pins
(A
0
–
A
16
) are output to the data input/output pins (D
0
–
D
7
).
G
Output disable
The microcomputer enters the output disable state by driving the
CE pin low and the WE and OE pins high; and the data input/out-
put pins enter the floating state.
G
Standby
The microcomputer enters the standby state by driving the CE pin
high. the 3803/3804 group is placed in a power-down state con-
suming only a minimum supply current. At this time, the data input/
output pins enter the floating state.
G
Write
The microcomputer enters the write state by driving the V
PP
pin
high (V
PP
= V
PP
H) and then the WE pin low when the CE pin is
low and the OE pin is high. In this state, software commands can
be input from the data input/output pins, and the user can choose
program or erase operation depending on the contents of this soft-
ware command.
Pin
Mode
Read
Output disable
Standby
Read
Output disable
Standby
Write
Read-only
Read/Write
CE
V
IL
V
IL
V
IH
V
IL
V
IL
V
IH
V
IL
V
IL
V
IH
×
V
IL
V
IH
×
V
IH
Table 17 Assignment states of control input and each state
OE
___
V
IH
V
IH
×
V
IH
V
IH
×
V
IL
V
PP
L
V
PP
L
V
PP
L
V
PP
H
V
PP
H
V
PP
H
V
PP
H
V
PP
Output
Floating
Floating
Output
Floating
Floating
Input
Data I/O
Note:
×
can be V
IL
or V
IH
.
State