R01UH0822EJ0100 Rev.1.00
Page 961 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.10.6
Setting Commands
Setting commands are used to configure the settings necessary to execute program/erase commands in the MCU.
lists Setting Commands. These commands can be used only in the inquiry/setting host command wait state.
31.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 31.15
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