English
Language : 

M30218 Datasheet, PDF (172/179 Pages) Mitsubishi Electric Semiconductor – M30218 Group
Appendix Standard Serial I/O Mode
Mitsubishi microcomputers
M30218 Group
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) Send the “F516” command code in the 1st byte of the transmission.
(2) Send addresses A0 to A7, A8 to A15 and A16 to A23 of the 1st byte of the ID code in the 2nd, 3rd
and 4th bytes of the transmission respectively.
(3) Send the number of data sets of the ID code in the 5th byte.
(4) The ID code is sent in the 6th byte onward, starting with the 1st byte of the code.
CLK0
RxD0
F516 DF16 FF16 0F16 ID size ID1
ID7
TxD0
RTS0(BUSY)
Figure DD-12. Timing for the 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 com-
mand sent from the serial programmer is not accepted. An ID code contains 8 bits of data. Area is,
from the 1st byte, addresses 0FFFDF16, 0FFFE316, 0FFFEB16, 0FFFEF16, 0FFFF316, and
0FFFF716 . 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
0FFFEB16 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
Reset vector
Figure DD-13. ID code storage addresses
4 bytes
171