
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Appendix Standard Serial I/O Mode (Flash Memory Version)
256
Software Commands
Table 1.31.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 1.31.1. Software commands (Standard serial I/O mode)
Control command
2nd byte 3rd byte 4th byte 5th byte 6th byte
1
Page read
2
Page program
3
Block erase
4
Erase all unlocked blocks
5
Read status register
6
Clear status register
7
Read lockbit status
8
Lockbit program
9
Lockbit enable
10
Lockbit disable
11
ID check function
12
Download function
13
Version data output function
14
Boot area output function
Note1: Shading indicates transfer from flash memory microcomputer to peripheral unit. All other data is trans-
ferred from the peripheral unit 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.
When ID is
not verificate
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Not
acceptable
Acceptable
Not
acceptable
Version
data output
to 9th byte
Data
output to
259th byte
Data
output to
259th
byte
Data input
to 259th
byte
To ID7
Data
output
Data
input
ID1
To
required
number
of times
Version
data
output
Data
output
Data
output
Data
input
ID size
Data
input
Version
data
output
Data
output
Data
output
Data
input
D0
16
Lock bit
data
output
D0
16
Address
(high)
Check-
sum
Version
data
output
Data
output
Address
(high)
Address
(high)
Address
(high)
SRD1
output
Address
(high)
Address
(high)
Address
(middle)
Size
(high)
Version
data
output
Address
(high)
Address
(middle)
Address
(middle)
Address
(middle)
D0
16
SRD
output
Address
(middle)
Address
(middle)
Address
(low)
Size
(low)
Version
data
output
Address
(middle)
FF
16
41
16
20
16
A7
16
70
16
50
16
71
16
77
16
7A
16
75
16
F5
16
FA
16
FB
16
FC
16