English
Language : 

M16C62N Datasheet, PDF (206/213 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M16C / 62N Group (80-pin)
Appendix Standard Serial I/O Mode 2 (Flash Memory Version) SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
ID Check
This command checks the ID code. Execute the boot ID check command as explained here following.
(1) Transfer the “F516” command code with the 1st byte.
(2) Transfer addresses A0 to A7, A8 to A15 and A16 to A23 of the 1st byte of the ID code with the 2nd,
3rd and 4th bytes respectively.
(3) Transfer the number of data sets of the ID code with the 5th byte.
(4) The ID code is sent with the 6th byte onward, starting with the 1st byte of the code.
RxD1
(M16C reception
F516 DF16 FF16 0F16 ID size ID1
ID7
data)
TxD1
(M16C transmit
data)
Figure 1.32.35. Timing for the ID check
ID Code
When the flash memory is not blank, the ID code sent from the peripheral units and the ID code written
in the flash memory are compared to see if they match. If the codes do not match, the command sent
from the peripheral units is not accepted. An ID code contains 8 bits of data. Area is, from the 1st byte,
addresses 0FFFDF16, 0FFFE316, 0FFFEB16, 0FFFEF16, 0FFFF316, 0FFFF716 and 0FFFFB16. Write
a program into the flash memory, which already has the ID code set for these addresses.
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
0FFFFC16 to 0FFFFF16
ID7 NMI vector
Reset vector
4 bytes
Figure 1.32.36. ID code storage addresses
205