English
Language : 

M30218 Datasheet, PDF (165/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group
Appendix Standard Serial I/O Mode
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Software Commands
Table DD-1 lists software commands. In the standard serial I/O mode, erase operations, programs and
reading are controlled by transferring software commands via the RxD pin. Software commands are
explained here below.
Table DD-1. Software commands (Standard serial I/O mode)
Control command
1 Page read
1st byte
transfer
FF16
2 Page program
4116
3 Bclock ease
2016
4 Erase all unlocked blocks
5 Read status register
6 Clear status register
7 Read lockbit status
A716
7016
5016
7116
8 ID check function
9 Download function
F516
FA16
10 Version data output function FB16
11 Boot area output function FC16
2nd byte
Address
(middle)
Address
(middle)
Address
(middle)
D016
SRD
output
Address
(middle)
Address
(low)
Size
(low)
Version
data
output
Address
(middle)
3rd byte
Address
(high)
Address
(high)
Address
(high)
SRD1
output
Address
(high)
Address
(middle)
Size
(high)
Version
data
output
Address
(high)
4th byte
Data
output
Data
input
D016
5th byte
Data
output
Data
input
6th byte
Data
output
Data
input
Data
output to
259th
byte
Data input
to 259th
byte
When ID is
not verificate
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Lock bit
data
output
Address
(high)
Check-
sum
Version
data
output
Data
output
Not
acceptable
Not
acceptable
ID size ID1
To ID7 Acceptable
Data
To
Not
input required
acceptable
number
of times
Version Version Version Acceptable
data data data output
output output to 9th byte
Data Data
Data
Not
output output output to acceptable
259th byte
Note1: Shading indicates transfer from flash memory microcomputer to serial programmer. All other data is
transferred from the serial programmer to the flash memory microcomputer.
Note2: SRD refers to status register data. SRD1 refers to status register 1 data.
Note3: All commands can be accepted when the flash memory is totally blank.
164