R01UH0823EJ0100 Rev.1.00
Page 1726 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
Read size (4 bytes): Size of Data that is read (in bytes)
Read data (n bytes): Data read from the specified range (n = read size)
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Error (1 byte): Error code
11h: SUM error
2Ah: Address error
A value other than 01h is set for the “Area” field.
The read start address is not in the selected area.
2Bh: Size error
The read size is set to 0000 0000h.
The read size exceeds the area size.
The address calculated from the read start address and read size is not in the selected area.
50.10.9.2
User Area Checksum
This command used to obtain the checksum of the entire user area. When the MCU receives this command, it adds data
from the start address to the end address in bytes in the user area, and sends the calculated result (checksum) as a
response.
Size (1 byte): Number of bytes for checksum of the user area (the value is always 04h)
User area checksum (4 bytes): Calculated result of the data in the user area in bytes
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Response
52h
Read size
Read data
SUM
Error response
D2h
Error
Command
4Bh
Response
5Bh
Size
User area checksum
SUM