English
Language : 

M30222 Datasheet, PDF (233/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloSeprpmeenctifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 2 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(12) Download Command
This command downloads a program to the RAM for execution. To execute the download command:
(1) Transfer the “FA16” command code with the 1st byte.
(2) Transfer the program size with the 2nd and 3rd bytes.
(3) Transfer the check sum with the 4th byte. The check sum is added to all data sent with the 5th byte on-
ward.
(4) The program to execute is sent with the 5th byte onward.
When all data has been transmitted, if the check sum matches, the downloaded program is executed. The size
of the program will vary according to the internal RAM.
RxD1
(M16C receive data)
TxD1
(M16C transmit data)
FA 16
Data size (low)
Check
sum
Program Program
data
data
Data size (high)
Figure 1.196. Timing for download
(13) Version Information Output Command
This command outputs the version information of the control program stored in the boot area. To execute the
version information output command:
(1) Transfer the “FB16” command code with the 1st byte.
(2) The version information will be output from the 2nd byte onward. This data is composed of 8 ASCII code
characters.
RxD1
FB16
(M16C receive data)
TxD1
(M16C transmit data)
'V' 'E' 'R'
'X'
Figure 1.197. Timing for version information output
1-234