R01UH0822EJ0100 Rev.1.00
Page 972 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.10.9.5
Data Area Blank Check
Error (1 byte): Error code
52h: Not blank
31.10.9.6
Access Window Information Program
This command is used to set the access window used for area protection. For the access window start address selected in
the command, set the start address of the start block. For the access window end address, set the end address of the end
block.
When the specified access window settings are successfully completed, the MCU sends a response (06h). If the SUM of
the received command does not match or an error occurs during the access window settings, the MCU sends an error
response.
For details on the access window, see
.
Access window (1 byte): Set the access window or clear the access window settings
Set 00h to set the access window
Set FFh to clear the access window settings
Access window start address LH (1 byte): Start address of the access window (A15 to A8)
Set A15 to A8 of the start address of the start block.
Set FFh to clear the access window settings
Access window start address HL (1 byte): Start address of the access window (A23 to A16)
Set A23 to A16 of the start address of the start block.
Set FFh to clear the access window settings
Access window end address LH (1 byte): End address of the access window (A15 to A8)
Set A15 to A8 of the end address of the end block.
Set FFh to clear the access window settings
Access window end address HL (1 byte): End address of the access window (A23 to A16)
Set A23 to A16 of the end address of the end block.
Set FFh to clear the access window settings
SUM (1 byte): Value that is calculated so the sum of response data is 00h
This command is used to check whether data is programmed in the user area.
When the MCU receives this command, it checks whether there is programmed data in the entire user area. If there is no
programmed data, the MCU sends a response (06h). If there is at least 1 byte of programmed data, the MCU sends an
error response.
Command
62h
Response
06h
Error response
E2h
Error
Command
74h
05h
Access window
Access window
start address
LH
Access window
start address
HL
Access window
end address
LH
Access window
end address
HL
SUM