Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Appendix Standard Serial I/O Mode (Flash Memory Version)
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)
When ID is
not verificate
Not
Control command
Page read
2nd byte 3rd byte 4th byte 5th byte 6th byte
Data
output to
259th
Address
(high)
Data
output
Data
output output
Data
Address
(middle)
1
2
FF16
4116
acceptable
byte
Page program
Data input
to 259th
byte
Address
(high)
Data
input
Data
input
Data
input
Address
(middle)
Not
acceptable
Address
(high)
D016
Address
(middle)
D016
Not
acceptable
Not
acceptable
Acceptable
3
4
5
6
7
Block erase
2016
A716
7016
5016
7116
Erase all unlocked blocks
Read status register
Clear status register
Read lockbit status
SRD1
output
SRD
output
Not
acceptable
Not
Address Lock bit
(high)
Address
(middle)
data
output
D016
acceptable
Address
(high)
Address
(middle)
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
8
9
Lockbit program
Lockbit enable
7716
7A16
7516
F516
FA16
10 Lockbit disable
To ID7
Address Address ID size
(middle)
Size
ID1
To
Address
(low)
Size
11 ID check function
12 Download function
(high)
Check-
sum
Data
Not
acceptable
(high)
input required
number
(low)
of times
Version
data output
to 9th byte
Data
output to
259th byte
Version Version Version Version
Version
data
output
Address
(middle)
Acceptable
13 Version data output function
14 Boot area output function
FB16
FC16
data
output
Address
(high)
data
output
Data
data
output output
Data Data
output output
data
Not
acceptable
output
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.
256