Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1734 of 1852
Nov 30, 2020
RX23W Group 50. Flash Memory (FLASH)
50.10.6 Setting Commands
Setting commands are used to configure the settings necessary to execute program/erase commands in the MCU.
Table 50.18 lists Setting Commands. These commands can be used only in the inquiry/setting host command wait state.
50.10.6.1 Device Select
This command is used to specify the endian of developed software. Select a device code from among the device codes
obtained in the response to the support device inquiry command.
If the received device code matches the supported device, the MCU sends a response (46h).
If the device is not supported or the SUM of the received command does not match, the MCU sends an error response.
Size (1 byte): Number of characters of the device code (the value is always 04h)
Device code (4 bytes): Identification code to identify an endian of the developed software
(code in the response to the support device inquiry command)
SUM (1 byte): Value that is calculated so the sum of command data is 00h
Error (1 byte): Error code
11h: SUM error
21h: Device code error
Table 50.18 Setting Commands
Command Function
Device select Select a device code.
Operating frequency select Change the bit rate for communication.
Program/erase host command wait state
transition
Enter the program/erase host command wait state or boot mode ID code
authentication state.
Command 10h Size Device code SUM
Response 46h
Error response 90h Error