Appendix Standard Serial I/O Mode 2 (Flash Memory Version)
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
1-258
Software Commands
Table 1.29.5 lists software commands. In the standard serial I/O mode 2, erase operations, programs and
reading are controlled by transferring software commands via the RxD1 pin. Standard serial I/O mode 2
adds four transmission speed commands - 9,600, 19,200, 38,400 and 57,600 bps - to the software com-
mands of standard serial I/O mode 1. Software commands are explained here below.
Table 1.29.5. Software commands (Standard serial I/O mode 2)
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 lock bit status
8
Lock bit program
9
Lock bit enable
10
Lock bit disable
11
ID check function
12
Download function
13
Version data output function
14
Boot ROM area output
function
15
Read check data
16
Baud rate 9600
17
Baud rate 19200
18
Baud rate 38400
19
Baud rate 57600
Address
(middle)
Address
(middle)
Address
(middle)
D016
SRD
output
Address
(middle)
Address
(middle)
Address
(low)
Size (low)
Version
data
output
Address
(middle)
Check
data (low)
B016
B116
B216
B316
Address
(high)
Address
(high)
Address
(high)
SRD1
output
Address
(high)
Address
(high)
Address
(middle)
Size
(high)
Version
data
output
Address
(high)
Check
data
(high)
Data
output
Data
input
D016
Lock bit
data
output
D016
Address
(high)
Check-
sum
Version
data
output
Data
output
Data
output
Data
input
ID size
Data
input
Version
data
output
Data
output
Data
output
Data
input
ID1
To
required
number
of times
Version
data
output
Data
output
Data
output to
259th byte
Data input
to 259th
byte
To ID7
Version
data
output to
9th byte
Data
output to
259th byte
FF16
4116
2016
A716
7016
5016
7116
7716
7A16
7516
F516
FA16
FB16
FC16
FD16
B016
B116
B216
B316
When ID is
not verified
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
Not
acceptable
Acceptable
1st byte
transfer
Note 1: 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.
Note 2: SRD refers to status register data. SRD1 refers to status register 1 data.
Note 3: All commands can be accepted when the flash memory is totally blank.