English
Language : 

M16C6K7 Datasheet, PDF (278/285 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Rev.1.0
Standard Serial I/O Mode
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
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 Undefined instruction vector
0FFFE016 to 0FFFE316 ID2 Overflow vector
0FFFE416 to 0FFFE716
BRK instruction vector
0FFFE816 to 0FFFEB16 ID3 Address match vector
0FFFEC16 to 0FFFEF16 ID4 Single step vector
0FFFF016 to 0FFFF316 ID5 Watchdog timer vector
0FFFF416 to 0FFFF716 ID6 DBC vector
0FFFF816 to 0FFFFB16 ID7 NMI vector
0FFFFC16 to 0FFFFF16
Reset vector
Fig.EE-11 ID code addressed
4 bytes
277