English
Language : 

M16C80 Datasheet, PDF (316/358 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/80 SERIES
M16C/80 Group
32. Standard serial I/O mode
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.
CLK1
RxD1
(M16C reception
F516 DF16 FF16 0F16 ID size ID1
ID7
data)
TxD1
(M16C transmit
data)
RTS1(BUSY)
Figure 32.14 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 0FFFFDF16, 0FFFFE316, 0FFFFEB16, 0FFFFEF16, 0FFFFF316, 0FFFFF716 and
0FFFFFB16. Write a program into the flash memory, which already has the ID code set for these
addresses.
Address
0FFFFDC16 to 0FFFFDF16
0FFFFE016 to 0FFFFE316
0FFFFE416 to 0FFFFE716
0FFFFE816 to 0FFFFEB16
0FFFFEC16 to 0FFFFEF16
0FFFFF016 to 0FFFFF316
0FFFFF416 to 0FFFFF716
0FFFFF816 to 0FFFFFB16
0FFFFFC16 to 0FFFFFF16
ID1 Undefined instruction vector
ID2 Overflow vector
BRK instruction vector
ID3 Address match vector
ID4
ID5 Watchdog timer vector
ID6
ID7 NMI vector
Reset vector
4 bytes
Figure 32.15 ID code storage addresses
Rev.1.00 Aug. 02, 2005 Page 305 of 329
REJ09B0187-0100