English
Language : 

M30218 Datasheet, PDF (170/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group
Appendix Standard Serial I/O Mode
Mitsubishi microcomputers
M30218 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Download Command
This command downloads a program to the RAM for execution. Execute the download command as
explained here following.
(1) Send the “FA16” command code in the 1st byte of the transmission.
(2) Send the program size in the 2nd and 3rd bytes of the transmission.
(3) Send the check sum in the 4th byte of the transmission. The check sum is added to all data sent
in the 5th byte onward.
(4) The program to execute is sent in 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.
CLK0
RxD0
TxD0
RTS0(BUSY)
FA16
Data size (low)
Check
sum
Program Program
data
data
Data size (high)
Figure DD-9. Timing for download
169