R01UH0823EJ0100 Rev.1.00
Page 1725 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.10.9
Read-Check Commands
Read-check commands are used to read data or check whether data is programmed in the user area or data area in the
MCU based on the response to inquiry commands.
lists read-check commands used in the program/erase host command wait state.
50.10.9.1
Memory Read
This command is used to read data programmed in the user area or data area. For a read start address selected in the
command, set a value within the range from the area start address to the area end address received in the response to the
user area information inquiry command or the data area information inquiry command.
For a read size selected in the command, set a value so the sum of the read start address and the read size is within the
range from the area start address to the area end address in the response to the user area information inquiry command or
the data area information inquiry command.
When the MCU performs a read successfully, it sends data of the specified range. If the SUM of the received command
does not match or the MCU fails to perform a read successfully, it sends an error response.
Size (1 byte): Total bytes for Read start address and Read size
Area (1 byte): Area that is read
01h: User area or data area
Read start address (4 bytes): Start address of the area that is read
Read size (4 bytes): Size of data that is read (in bytes)
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Table 50.23
Read-Check Commands
Command
Function
Memory read
Read data from the user area or data area.
User area checksum
Obtain the checksum of the entire user area.
Data area checksum
Obtain the checksum of the entire data area.
User area blank check
Check whether data is programmed in the user area.
Data area blank check
Check whether data is programmed in the data area.
Access window information program
Set the access window.
Access window read
Read the settings of the access window.
Command
52h
Size
Area
Read start address
Read size
SUM