Erase Preparation; Block Erase - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
31.10.8.4

Erase Preparation

This command is used to prepare for accepting the block erase command. When the MCU receives this command, it
recognizes that an instruction to prepare for the erase command is issued from the host. Then, the MCU enters the erase
wait state, where only the block erase command can be accepted, and sends a response (06h).
Command
48h
Response
06h
31.10.8.5

Block Erase

This command is used to erase the selected block in the user area or data area. Specify the block start address selected in
the command by calculating the address based on the response to the block information inquiry command.
When the block selected in the block start address is successfully erased, the MCU sends an error response (06h). If the
SUM of the received command does not match or an error occurs during an erase operation, the MCU sends an error
response.
To enter the program/erase host command wait state after the erase operation ends, send 59h 04h FFh FFh FFh FFh A7h
from the host. The MCU enters the program/erase host command wait state and sends a response (06h).
Command
59h
Response
SUM
Size (1 byte): Total bytes of Block start address (the value is always 04h)
Block start address (4 bytes): Start address of the block that is erased
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Response
06h
Error response
D9h
Error (1 byte): Error code
11h: SUM error
29h: Block start address error
51h: Erase error (the selected block cannot be erased)
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Size
Block start address
Set FFFF FFFFh for end of erase
Error
31. Flash Memory (FLASH)
Page 968 of 1041

Advertisement

Table of Contents
loading

Table of Contents