English
Language : 

M16C Datasheet, PDF (255/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
Standard Serial I/O Mode
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
ID Check
This command checks the ID code. Execute the boot ID check command as explained below.
(1) Send the "F516" command code in the first byte of the transmission.
(2) Send addresses A0 to A7, A8 to A15 and A16 to A23 of the first byte of the ID code in the second, the
third and the fourth bytes of the transmission respectively.
(3) Send the number of data sets of the ID code in the fifth byte.
(4) The ID code is sent in the sixth byte onward, starting with the first byte of the code.
When all the data are transmitted, if the check sum matches, the download program is executed.
The size of the program may vary according to the internal RAM.
CLK1
TxD1
F516 DF16 FF16 0F16 ID size ID1
ID7
RxD1
RTS1(BUSY)
Figure 25-15. Timing for ID check
ID Code
When the flash memory is not blank, the ID code sent from the serial programmer 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 serial programmer is not accepted. An ID code contains 8 bits of data. Its area is, from the first byte,
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
0FFFDF16 to 0FFFDC16 ID1 Undefined instruction vector
0FFFE316 to 0FFFE016 ID2 Overflow vector
0FFFE716 to 0FFFE416
BRK instruction vector
0FFFEB6 to 0FFFE816 ID3 Address match vector
0FFFEF16 to 0FFFEC16 ID4 Single step vector
0FFFF316 to 0FFFF016 ID5 Watchdog timer vector
0FFFF716 to 0FFFF416 ID6 DBC vector
0FFFFB16 to 0FFFF816
0FFFFF16 to 0FFFFC16
ID7 NMI vector
Reset
Figure 25-16. ID code storage addresses
4 bytes
255