Renesas M16C/64A Series User Manual page 723

Table of Contents

Advertisement

M16C/64A Group
30.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 30.16 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 30.19 lists Reserved Word of ID
Code. All ID code storage addresses and data must match the combinations listed in Table 30.19.
When the forced erase function or standard serial I/O mode disable function is not used, use another
combination of ID codes.
Table 30.19
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 30.19.
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 30.16 ID Code Storage Addresses
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
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
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
30. Flash Memory
Protect
Page 690 of 800

Advertisement

Table of Contents
loading

Table of Contents