English
Language : 

38K0 Datasheet, PDF (100/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K0 Group
qDownload Command
This command downloads a program to the RAM for execution.
Execute the download command as explained here following.
(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 onward.
(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.
SCLK
RxD
TxD
SRDY (BUSY)
Fig. 130 Timing for download
FA16
Data size Data size
(low)
(high)
Check
sum
Program
data
Program
data
Rev.3.00 Oct 05, 2006 page 100 of 129
REJ03B0192-0300