English
Language : 

M30222 Datasheet, PDF (209/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloerpment
Specifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 1 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Software Commands
Table 1.79 lists software commands. In the standard serial I/O mode 1, erase operations, programs
and reading are controlled by transferring software commands via the RxD0 pin. Software commands
are explained here below.
Table 1.79. Software commands (Standard serial I/O mode 1)
Control
command
2nd
byte
3rd
byte
4th
byte
5th
byte
6th
byte
When ID is
not verified
1
Page read
FF16
Address Address Data
(middle) (high)
output
Data
output
Data
output
Data output Not
to 259th byte acceptable
2
Page program
4116 Address Address Data input
Data
(middle) (high)
input
Data
input
Data input to
259th byte
Not
acceptable
3
Block erase
2016
Address
(middle)
Address
(high)
D016
Not
acceptable
4
Erase all
A716 D016
unlocked blocks
Not
acceptable
5
Read status
register
7016
SRD
output
SRD
output
Acceptable
6
Clear status
register
5016
Not
acceptable
7
Read lock bit
status
7116
Address Address Lock bit
(middle) (high)
data output
Not
acceptable
8
Lock bit
program
7716
Address
(middle)
Address
(high)
D016
Not
acceptable
9
Lock bit enable
7A16
10
Lock bit disable 7516
11 ID check
function
12 Download
function
F516
FA16
Address
(low)
Size
(low)
Address
(middle)
Size
(high)
Address
(high)
Check sum
ID size
Data
input
ID1
ID7
As
required
Not
acceptable
Not
acceptable
Acceptable
Not
acceptable
13 Version data
FB16 Version Version Version
Version Version Version data Acceptable
output function
data
data
data output data
data
output to 9th
output
output
output
output
byte
14
Boot ROM area FC16 Address Address Data output Data
output function
(middle) (high)
output
Data
output
Data output Not
to 259th byte acceptable
15 Read check
data
16 Word Read
17 Word Program
18 Exit
FD16
FE16
4016
B916
CRC
data
(Low)
Address
(low)
Address
(low)
CRC
data
(High)
Address
(middle)
Address
(middle)
Address
(high)
Address
(high)
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Note 1: The shaded areas indicate a transfer from flash MCU to serial programmer. All other data is
transferred from programmer to MCU.
Note 2: SRD to Status Register Data. SRD1 refers to Status Register 1 Data.
Note 3: All commands are accepted if the reset vector is blank.
1-210