
R8C/36T-A Group
5. System Control
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0240EJ0010 Rev.0.10
Page 39 of 728
Aug 05, 2011
5.3
ID Code Area
5.3.1
Overview
The ID code area is assigned to certain of the highest addresses for each vector in the fixed vector table,
0FFDFh, 0FFE3h, 0FFEBh, 0FFEFh, 0FFF3h, 0FFF7h, and 0FFFBh.
Figure 5.1
ID Code Area
5.3.2
Function
The ID code area is used in standard serial I/O mode. Its operation differs depending on whether the 3 bytes in
the reset vector at addresses 0FFFCh to 0FFFEh are FFFFFFh or not.
If the value is not FFFFFFh in standard serial I/O mode, the ID code stored in the ID code area (stored ID code)
and that sent from the serial programmer or the on-chip debugging emulator are examined to see whether they
match. If they match, the commands are accepted. Otherwise, the commands are not accepted. To use the serial
programmer or the on-chip debugging emulator, write predetermined ID codes, in advance, to the ID code area.
If the value is FFFFFFh, the ID codes are not examined and all commands are accepted.
The ID code area is allocated in the flash memory, not in the SFRs. Set appropriate values as ROM data by a
program.
The ID code with the character combination expressed “ALeRASE” in ASCII is the reserved word for the
forced erase function. The ID code “Protect” is the reserved word for the standard serial I/O mode disabled
function.
in
Table 5.2 respectively, the ID codes form the corresponding reserved word. When the forced erase function
or standard serial I/O mode disabled function is not used, use another combination of ID codes.
Address
0FFDFh to 0FFDCh
0FFE3h to 0FFE0h
0FFE7h to 0FFE4h
0FFEBh to 0FFE8h
0FFEFh to 0FFECh
0FFF3h to 0FFF0h
0FFF7h to 0FFF4h
0FFFBh to 0FFF8h
0FFFFh to 0FFFCh
ID code area
4 bytes
ID1
ID2
ID3
ID4
ID5
ID6
ID7
OFS
Undefined instruction vector
Watchdog timer, oscillation stop detection,
voltage monitor 1, voltage monitor 2
Reserved area
Overflow vector
BRK instruction vector
Address match vector
Single-step vector
Address break vector
Reset vector