English
Language : 

M38503MXH Datasheet, PDF (42/86 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3850 Group (Spec. H)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Software Commands
Table 10 lists the software commands.
After setting the CPU rewrite mode select bit to “1”, write a software
command to specify an erase or program operation.
The content of each software command is explained below.
Read Array Command (FF16)
The read array mode is entered by writing the command code “FF16”
in the first bus cycle. When an address to be read is input in one of
the bus cycles that follow, the content of the specified address is
read out at the data bus (D0–D7).
The read array mode is retained intact until another command is writ-
ten. And after power on and after recover from deep power down
mode, this mode is selected also.
Read Status Register Command (7016)
When the command code “7016” is written in the first bus cycle, the
content of the status register is read out at the data bus (D0–D7) by a
read in the second bus cycle.
The status register is explained in the next section.
Clear Status Register Command (5016)
This command is used to clear the bits SR1,SR4 and SR5 of the
status register after they have been set. These bits indicate that op-
eration has ended in an error. To use this command, write the com-
mand code “5016” in the first bus cycle.
Table 10 List of software commands (CPU rewrite mode)
Command
Cycle number
Read array
1
First bus cycle
Data
Mode Address (D0 to D7)
Write X (Note 4) FF16
Second bus cycle
Mode Address
Data
(D0 to D7)
Read status register
2
Write
X
7016
Read
X
SRD (Note 1)
Clear status register
1
Write
X
5016
Program
2
Write
X
4016
Write WA (Note 2) WD (Note 2)
Erase all block
2
Write
X
2016
Write
X
2016
Block erase
2
Write
X
2016
Write BA (Note 3)
D016
Notes 1: SRD = Status Register Data
2: WA = Write Address, WD = Write Data
3: BA = Block Address (Enter the maximum address of each block.)
4: X denotes a given address in the user ROM area .
42