English
Language : 

M16C80 Datasheet, PDF (324/358 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/80 SERIES
M16C/80 Group
32. Standard serial I/O mode
Software Commands
Table 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 five transmission speed commands - 9,600, 19,200, 38,400, 57,600 and 115,200 bps - to the soft-
ware commands of standard serial I/O mode 1. Software commands are explained here below.
Table 32.5 Software commands (Standard serial I/O mode 2)
Control command
1st byte
transfer
2nd byte
3rd byte
4th byte
1 Page read
Address Address Data
FF16 (middle) (high) output
2 Page program
Address Address Data
4116 (middle) (high)
input
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 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 Code processing 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
20 Baud rate 115200
B416 B416
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 data 1.
Note 3: All commands can be accepted when the flash memory is totally blank.
Rev.1.00 Aug. 02, 2005 Page 313 of 329
REJ09B0187-0100