English
Language : 

M16C Datasheet, PDF (247/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
Standard Serial I/O Mode
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Software Commands
Table 25-1 lists software commands. In the standard serial I/O mode, erase operation, programs and
reading are controlled by transferring software commands via the RXD pin. Software commands for the
serial I/O mode are basically the same as those for the parallel I/O mode, but there are six additional
commands to make up for WP pin functions used in the parallel I/O mode. These commands are lock bit
disable, lock bit enable, ID check, download, version information output and boot area output.
Table 25-1. Software commands (standard serial I/O mode)
Control command
1 Page read
2 Page program
FF16
4116
3 Block erase
4 Erase all unlocked blocks
5 Read status register
6 Clear status register
7 Read lockbit status
2016
A716
7016
5016
7116
8 Lockbit program
9 Lockbit enable
10 Lockbit disable
11 ID check function
12 Download function
7716
7A16
7516
F516
FA16
13 Version data output function FB16
14 Boot area output function FC16
2nd byte
Address
(middle)
Address
(middle)
Address
(middle)
D016
SRD
output
Address
(middle)
Address
(middle)
Address
(low)
Size
(low)
Version
data
output
Address
(middle)
3rd byte
Address
(high)
Address
(high)
Address
(high)
SRD1
output
Address
(high)
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
D016
Address
(high)
Check-
sum
Version
data
output
Data
output
ID size ID1
To ID7
Data
To
input required
number
of times
Version Version Version
data data data output
output output to 9th byte
Data Data
Data
output output output to
259th byte
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Not
acceptable
Acceptable
Not
acceptable
• Shading indicates transfer from flash memory microcomputer to serial programmer. All other data is
transferred from the serial programmer to the flash memory microcomputer.
• SRD refers to status register data. SRD1 refers to status register 1 data.
• All commands can be accepted when the flash memory is totally blank.
247