R8C/38T-A Group
5. System Control
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0241EJ0010 Rev.0.10
Page 43 of 730
Aug 05, 2011
Note:
1. When the combination of ID codes and addresses match those listed in
Table 5.2 respectively, the ID codes
form the corresponding reserved word.
5.3.3
Forced Erase Function
The forced erase function is used in standard serial I/O mode. When the ID code sent from the serial
programmer or the on-chip debugging emulator is the ASCII code “ALeRASE”, the entire data in the user
ROM area will be erased. However, if the stored ID codes are any value other than “ALeRASE” (refer to Table enabled) in the OFS register, a forced erase is not performed and the ID codes are examined with the ID code
Also, when the stored ID codes are set to “ALeRASE” in ASCII, if the ID codes sent from the serial
programmer or the on-chip debugging emulator are “ALeRASE”, the data in the user ROM area will be erased.
For ID codes other than “ALeRASE”, the ID codes do not match and no command is accepted, and thus the
user ROM area remains protected.
Note:
Table 5.2
ID Code Reserved Word
ID Code Storage
Address
lD Code Reserved Word (ASCII)
(1)ALeRASE
(Forced Erase Function)
Protect
(Standard Serial I/O Mode Disabled Function)
0FFDFh
ID1
41h (upper-case “A”)
50h (upper-case “P”)
0FFE3h
ID2
4Ch (upper-case “L”)
72h (lower-case “r”)
0FFEBh
ID3
65h (lower-case “e”)
6Fh (lower-case “o”)
0FFEFh
ID4
52h (upper-case “R”)
74h (lower-case “t”)
0FFF3h
ID5
41h (upper-case “A”)
65h (lower-case “e”)
0FFF7h
ID6
53h (upper-case “S”)
63h (lower-case “c”)
0FFFBh
ID7
45h (upper-case “E”)
74h (lower-case “t”)
Table 5.3
Conditions and Operations of Forced Erase Function
Condition
Operation
ID code from serial
programmer or
on-chip debugging emulator
ID code in ID code
storage address
Bits ROMCP1 and ROMCR
in OFS register
ALeRASE
—
Erasure of whole user ROM
area (forced erase
function)
Other than
Other than 01b
(ROM code protect disabled)
01b
(ROM code protect enabled)
ID code check
(ID code check function)
Other than ALeRASE
ALeRASE
—
ID code check
(ID code check function.
No ID code match.)
Other than
—
ID code check
(ID code check function)