English
Language : 

38K0 Datasheet, PDF (96/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
Software Commands
Table 12 lists software commands. In standard serial I/O mode,
erase, program and read are controlled by transferring software
commands via the RxD pin. Software commands are explained
here below. Basically, the software commands of the standard se-
rial I/O mode are the same as that of the parallel I/O mode, but the
block erase function is excluded, and 4 commands are added: ID
check, download, version data output and Boot ROM area output
functions.
Table 12 Software commands (Standard serial I/O mode)
Control command
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte
.....
transfer
When ID is
not verified
1 Page read
FF16
Address Address
(middle) (high)
Data
output
Data
output
Data
output
Data
output to
259th byte
Not
acceptable
2 Page program
4116
Address Address
(middle) (high)
Data
input
Data
input
Data
input
Data input
to 259th
byte
Not
acceptable
3 Erase all blocks
4 Read status register
A716
7016
D016
SRD
output
SRD1
output
Not
acceptable
Acceptable
5 Clear status register
5016
Not
acceptable
6 ID check function
F516 Address Address Address ID size
ID1
(low) (middle) (high)
To ID7
Acceptable
7 Download function
FA16
Size
(low)
Size
(high)
Check-
sum
Data
input
To
required
number
of times
Not
acceptable
8 Version data output function FB16 Version Version Version Version Version Version Acceptable
data
data
data
data
data data output
output output output output output to 9th byte
9 Boot ROM area output
function
FC16
Address Address
(middle) (high)
Data
output
Data
output
Data
output
Data
output to
259th byte
Not
acceptable
Notes1: Shading indicates transfer from the internal flash memory microcomputer to a programmer. All other data is transferred from a programmer to the in-
ternal flash memory microcomputer.
2: SRD refers to status register data. SRD1 refers to status register 1 data.
3: All commands can be accepted when the flash memory is totally blank.
4: Address low is A0 to A7; Address middle is A8 to A15; Address high is A16 to A23. Address-high A16 to A23 are always “0016”.
Rev.3.00 Oct 05, 2006 page 96 of 129
REJ03B0192-0300