English
Language : 

M16C30P_07 Datasheet, PDF (214/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
19. Flash Memory Version
19.2.2 ID Code Check Function
Use the ID code check function in standard serial I/O mode. The ID code sent from the serial programmer is
compared with the ID code written in the flash memory for a match. If the ID codes do not match, commands sent
from the serial programmer are not accepted. However, if the four 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, into 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 19.3 shows address for ID code stored.
Reserved character sequence of the ASCII codes: “A”, “L”, “e”, “R”, “A”, “S”, and “E” are used for forced erase
function. Table 19.3 lists reserved character sequence.
When the ID codes stored in the ID code addresses in the user ROM area are set to the ASCII codes: “A”, “L”, “e”,
“R”, “A”, “S”, and “E” as the combination table listed in Table 19.3, forced erase function becomes active. Use the
sequence only when forced erase function is necessary.
Table 19.3 Reserved Character Sequence (Reserved Word)
ID Code Address
FFFDFh
ID1
FFFE3h
ID2
FFFEBh
ID3
FFFEFh
ID4
FFFF3h
ID5
FFFF7h
ID6
FFFFBh
ID7
lD Code
Hexadecimal Code (ASCII)
41h (A)
4Ch (L)
65h (e)
52h (R)
41h (A)
53h (S)
45h (E)
Reserve word for forced erase function: A set of reserved characters that match all
the ID code addresses in sequence as the combination table listed in Table 19.3.
Rev.1.22 Mar 29, 2007 Page 198 of 291
REJ09B0179-0122