Id Code Authentication Command; Id Code Check - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
31.10.7

ID Code Authentication Command

This command is used for ID code authentication when boot mode ID code protection is enabled.
Table 31.16 lists ID code authentication command. This command can be used only in the boot mode ID code
authentication state.
Table 31.16
ID Code Authentication Command
Command
Function

ID code check

Compare the 16-byte code sent from the host and ID code.
31.10.7.1
ID Code Check
This command is used to unlock boot mode ID code protection.
The comparison ID code specified with the command should be set to the same value as the control code and ID code 1
to ID code 15.
If the comparison ID code sent from the host matches the ID code programmed in the user area, the MCU sends a
response (06h) and enters program/erase host command wait state.
If the codes do not match or the SUM of the received command does not match, the MCU sends an error response.
When the ID codes do not match three times consecutively while the control code is 45h, all blocks in the user area and
data area are erased. If an error occurs during erasure, the MCU sends an error response.
Also, even if all blocks are successfully erased, the MCU sends an error response and continues the boot mode ID code
state. Reset the MCU to enter the program/erase host command wait state.
Command
60h
SUM
Size (1 byte): Number of bytes of ID codes (the value is always 10h)
ID code (16 bytes): Control code (1 byte) + ID code 1 to ID code 15 (15 bytes)
SUM (1 byte): Value that is calculated so the sum of the command data is 00h
Response
ACK
ACK (1 byte): ACK code
06h: The MCU enters the program/erase host command wait state.
E0h
Error (1 byte): Error code
11h: SUM error
61h: ID codes do not match
63h: ID codes do not match and erase error
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Size
Comparison ID code (control code + ID code 1 to ID code 15)
Error
31. Flash Memory (FLASH)
Page 964 of 1041

Advertisement

Table of Contents
loading

Table of Contents