English
Language : 

M16C62N Datasheet, PDF (198/213 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M16C / 62N Group (80-pin)
Appendix Standard Serial I/O Mode 2 (Flash Memory Version) SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Software Commands
Table 1.32.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.32.5. Software commands (Standard serial I/O mode 2)
Control command
1 Page read
2 Page program
1st byte
transfer
FF16
2nd byte
Address
(middle)
3rd byte
Address
(high)
Address Address
4116 (middle) (high)
4th byte 5th byte 6th byte
Data
output
Data
input
Data
output
Data
input
Data
output
Data
input
Data
output to
259th byte
Data input
to 259th
byte
When ID is
not verified
Not
acceptable
Not
acceptable
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
2016
A716
7016
5016
7116
Address
(middle)
D016
SRD
output
Address
(middle)
Address
(high)
SRD1
output
Address
(high)
7716
7A16
Address
(middle)
Address
(high)
7516
F516
FA16
Address
(low)
Size (low)
Address
(middle)
Size
(high)
Version
FB16 data
output
Version
data
output
Address Address
FC16 (middle) (high)
Check Check
FD16 data (low) data
(high)
D016
Lock bit
data
output
D016
Address
(high)
Check-
sum
Version
data
output
Data
output
ID size ID1
To ID7
To
Data required
input 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
Acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Not
acceptable
Acceptable
Not
acceptable
Acceptable
Not
acceptable
Not
acceptable
16 Baud rate 9600
B016 B016
Acceptable
17 Baud rate 19200
B116 B116
Acceptable
18 Baud rate 38400
B216 B216
Acceptable
19 Baud rate 57600
B316 B316
Acceptable
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.
197