Read-Check Commands; Memory Read - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
31.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.
Table 31.19 lists read-check commands used in the program/erase host command wait state.
Table 31.19
Read-Check Commands
Command

Memory read

User area checksum
Data area checksum
User area blank check
Data area blank check
Access window information program
Access window read
31.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.
Command
52h
SUM
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
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Function
Read data from the user area or data area.
Obtain the checksum of the entire user area.
Obtain the checksum of the entire data area.
Check whether data is programmed in the user area.
Check whether data is programmed in the data area.
Set the access window.
Read the settings of the access window.
Size
Area
Read start address
Read size
31. Flash Memory (FLASH)
Page 969 of 1041

Advertisement

Table of Contents
loading

Table of Contents