R01UH0822EJ0100 Rev.1.00
Page 965 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.10.8
Program/Erase Commands
Program/erase commands are used to program or erase the user area or data area based on the response to inquiry
commands.
lists commands used in each of the program/erase host command wait state, program wait state,
lists commands that can be accepted in each state.
When a command that is not listed in
is received in each state, the MCU sends a command error response.
31.10.8.1
User/Data Area Program Preparation
This command is used to prepare for accepting the program command and the data area program command.
When the MCU receives this command, it recognizes that an instruction to prepare for the program command is issued
from the host. Then, the MCU enters the program wait state, where only the program command to the user area or data
area can be accepted, and sends a response (06h).
Table 31.17
Program/Erase Commands
Command
Function
User/data area program preparation
Select the user area or data area to program, and enter the program wait state.
Program
Program the specified data to the selected area in the user area or data area.
Or enter the program/erase host command wait state (end of program).
Data area program
Program the specified-size data to the selected area in the data area.
Or enter the program/erase host command wait state (end of program).
Erase preparation
Enter the erase wait state.
Block erase
Erase the selected block, or enter the program/erase host command wait state
(end of erase).
Table 31.18
Acceptable Commands for Each State
State
Acceptable Command
Program/erase host command wait state
User/data area program preparation command, and erase preparation command
Program wait state
Program command, and data area program command
Erase wait state
Block erase command
Command
43h
Response
06h