English
Language : 

M16C6K9 Datasheet, PDF (284/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Standard Serial I/O Mode
ID check function
The command checks the ID code. Execute the command as follows:
(1) Transfer the command code “F516” in the 1st byte.
(2) Transfer addresses A7–A0, A15–A8 and A23–A16 of 1st ID code (ID1) in the 2nd, 3rd and 4th bytes
respectively.
(3) Transfer the number of the ID code in the 5th byte.
(4) From the 6th byte onward, transfer the IDs from the 1st ID code (ID1).
CLK10
RxD10
(M16C reception data)
F516 DF16 FF16 0F16 IDsize ID1
ID7
TxD10
(M16C transmit data)
RTS10(BUSY)
Fig.EE-10 Timing of ID check function
ID code
If the flash memory is not blank, the input ID codes are compared with that written in flash memory. If they do
not match, the input commands will not be accepted. Each ID code contains 8 bits data. Beginning from the
1st ID byte, the address of each ID code is 0FFFDF16, 0FFFE316, 0FFFEB16, 0FFFEF16, 0FFFF316, 0FFFF716
and 0FFFFB16 respectively. Write the program with the ID codes in these addresses to the flash memory.
Address
0FFFDC16 to 0FFFDF16 ID1
0FFFE016 to 0FFFE316 ID2
0FFFE416 to 0FFFE716
0FFFE816 to 0FFFEB16 ID3
0FFFEC16 to 0FFFEF16 ID4
0FFFF016 to 0FFFF316 ID5
0FFFF416 to 0FFFF716 ID6
0FFFF816 to 0FFFFB16 ID7
0FFFFC16 to 0FFFFF16
Undefined instruction vector
Overflow vector
BRK instruction vector
Address match vector
Single step vector
Watchdog timer vector
DBC vector
NMI vector
Reset vector
Fig.EE-11 ID code addressed
Rev.1.00 Jun 06, 2003 page 284 of 290
4 bytes