EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1724 background imageLoading...
Page #1724 background image
R01UH0823EJ0100 Rev.1.00 Page 1724 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.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).
50.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).
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
Set FFFF FFFFh for end of erase
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Error (1 byte): Error code
11h: SUM error
29h: Block start address error
51h: Erase error (the selected block cannot be erased)
Command 48h
Response 06h
Command 59h Size
Block start address
Response SUM
Response 06h
Error response D9h Error

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals