English
Language : 

M30222 Datasheet, PDF (232/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloSeprpmeenctifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 2 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(11) ID Check
This command checks the ID code. To execute the boot ID check command:
(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
F516 DF16 FF16 0F16 ID size ID1
ID7
(M16C receive data)
TxD1
(M16C transmit data)
Figure 1.194. 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
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
0FFFFC16 to 0FFFFF16
ID7 NMI vector
Reset
Figure 1.195. ID code storage addresses
4 bytes
1-233