Boot Mode Status Inquiry - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
31.10.4

Boot Mode Status Inquiry

This command is used to check the current state and which type of an error occurred immediately after a command
issued in the boot program.
Table 31.12 and Table 31.13 list a state or error that the MCU responds to.
The boot mode status inquiry command can be used in the inquiry/setting host command wait state and program/erase
host command wait state.
Command
4Fh
Response
5Fh
Size (1 byte): Total bytes of "State" and "Error" (the value is always 02h)
State (1 byte): MCU's current state (see Table 31.12)
Error (1 byte): Information about the error occurred in response to a command issued immediately before (see Table 31.13)
SUM (1 byte): Value that is calculated so the sum of response data is 00h
Table 31.12
Information Regarding the States
Code
State*
1
11h
Inquiry/setting host command wait state
12h/13h
1Fh
31h
Boot mode ID code authentication state
3Fh
Program/erase host command wait state
4Fh
5Fh
Note 1. Refer to Figure 31.26 for details on the state transitions.
Table 31.13
Error Information
Code
Description
00h
No error
11h
SUM error
21h
Device code error
24h
Bit rate selection error
29h
Block start address error
2Ah
Address error
2Bh
Data length error
51h
Erase error
52h
Not blank (blank check error)
53h
Program error
61h
ID code do not match
63h
ID code do not match and erase error
80h
Command error
FFh
Bit rate automatic adjustment error
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Size
State
Description
Device selection wait state
Operating frequency selection wait state
Program/erase host command wait state transition command wait
state
The user area and data area are being erased
Program/erase command wait state
Program data reception wait state
Block erase specification wait state
Error
SUM
31. Flash Memory (FLASH)
Page 957 of 1041

Advertisement

Table of Contents
loading

Table of Contents