RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 875 of 1006
Feb 20, 2013
Table 26.11 Specifications for ID Code Protection
Control Code
ID Code
State of Protection
Operations at the Time of SCI Connection
45h
As desired
Protection enabled
(authentication method 1)
Matching ID code: ID code protection is lifted, and this is
followed by a transition to the state of waiting for a host
command.
Non-matching ID code: Up to two more transitions to the ID
code protection waiting state; complete erasure if a
non-matching ID code is received for a third time.
52h
Sequences other than
50h, 72h, 6Fh, 74h, 65h,
63h, 74h, FFh, ..., FFh
Protection enabled
(authentication method 2)
Matching ID code: ID code protection is lifted, and this is
followed by a transition to the state of waiting for a host
command.
Non-matching ID code: Further transition to the ID code
protection waiting state
50h, 72h, 6Fh, 74h, 65h,
63h, 74h, FFh, ..., FFh
Protection enabled
(authentication method 3)
Always judged to be a non-matching ID code.
Other than the
above
Protection disabled
Erasure of all blocks
(2) ID Code
The ID code can be set to any desired value. However, if the control code is 52h and the ID code is 50h, 72h, 6Fh, 74h,
65h, 63h, 74h, FFh, ..., FFh (from the ID code 1 field), there is no determination of matching and the ID code is always
considered to be non-matching. Accordingly, reading, programming, and erasure from the host are prohibited.
(3) Example of Assembler Directives for Setting an ID Code
The following assembler directives set up a control code of 45h and an ID code of 01h, 02h, 03h, 04h, 05h, 06h, 07h, 08h,
0Ah, 0Bh, 0Ch, 0Dh, 0Eh, 0Fh (from the ID code 1 field).
.SECTION ID_CODE,CODE
.ORG 0FFFFFFA0h
.LWORD 45010203h
.LWORD 04050607h
.LWORD 08090A0Bh
.LWORD 0C0D0E0Fh