English
Language : 

M16C6K9 Datasheet, PDF (282/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Standard Serial I/O Mode
Download function
The command downloads an execution program to RAM. Execute the command as follows:
(1) Transfer the command code “FA16” in the 1st byte.
(2) Transfer the program size in the 2nd and 3rd bytes.
(3) Transfer the checksum in the 4th byte. Check sum is calculated from all transferred data from the 5th byte
onward.
(4) The execution program is transferred from 5th byte onward.
After the entire program data have been transferred, the downloaded execution program will be executed
if the checksum matches.
The program size allowed to transfer varies according to the size of on-chip RAM.
CLK10
RxD10
(M16C reception data)
TxD10
(M16C transmit data)
RTS10(BUSY)
FA16
Data size Data size
(low) (high)
Check Program
sum data
Program
data
Fig.EE-7 Timing of download function
Rev.1.00 Jun 06, 2003 page 282 of 290