Download Print this page

Renesas M16C/50 Series User Manual page 729

Advertisement

M16C/5L Group, M16C/56 Group
26.9.1
ID Code Check Function
Use the ID code check function in standard serial I/O mode. This function determines whether the ID
codes sent from the serial programmer match those written in the flash memory. If the ID codes do not
match, commands sent from the serial programmer are not accepted. However, if the 4 bytes of the
reset vector are FFFFFFFFh, ID codes are not compared, allowing all commands to be accepted.
The ID codes are 7-byte data stored consecutively, starting with the first byte, at addresses 0FFFDFh,
0FFFE3h, 0FFFEBh, 0FFFEFh, 0FFFF3h, 0FFFF7h, and 0FFFFBh. The flash memory must have a
program with the ID codes set in these addresses. Figure 26.25 shows ID Code Storage Addresses.
The ID code of "ALeRASE" in ASCII code is used for forced erase function. The ID code "Protect" in
ASCII code is used for standard serial I/O mode disable function. Table 26.20 lists Reserved Word of ID
Code. All ID code storage addresses and data must match the combinations listed in Table 26.20.
When the forced erase function or standard serial I/O mode disable function is not used, use another
combination of ID codes.
Table 26.20
Reserved Word of ID Code
ID Code Storage Address
FFFDFh
FFFE3h
FFFEBh
FFFEFh
FFFF3h
FFFF7h
FFFFBh
All ID code storage addresses and data must match the combinations listed in Table 26.20.
0FFFDBh to 0FFFD8h
0FFFDFh to 0FFFDCh
0FFFE3h to 0FFFE0h
0FFFE7h to 0FFFE4h
0FFFEBh to 0FFFE8h
0FFFEFh to 0FFFECh
0FFFF3h to 0FFFF0h
0FFFF7h to 0FFFF4h
0FFFFBh to 0FFFF8h
0FFFFFh to 0FFFFCh
Figure 26.25 ID Code Storage Addresses
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Reserved Word of lD Code (ASCII)
ALeRASE
ID1
41h (upper-case A)
ID2
4Ch (upper-case L)
ID3
65h (lower-case e)
ID4
52h (upper-case R)
ID5
41h (upper-case A)
ID6
53h (upper-case S)
ID7
45h (upper-case E)
Address
OFS2
OFS1
50h (upper-case P)
72h (lower-case r)
6Fh (lower-case o)
74h (lower-case t)
65h (lower-case e)
63h (lower-case c)
74h (lower-case t)
ID1
Undefined instruction vector
ID2
Overflow vector
BRK instruction vector
ID3
Address match vector
ID4
Single step vector
ID5
Watchdog timer vector
ID6
DBC vector
ID7
NMI vector
Reset vector
4 bytes
26. Flash Memory
Protect
Page 692 of 803

Advertisement

loading