Section 24 Flash Memory
(i)
Boot Program Status Inquiry
The boot program will return indications of its present state and error condition. This inquiry can
be made in the inquiry/selection state or the programming/erasing state.
Command
H'4F
• Command, H'4F, (one byte):
Response
H'5F
• Response, H'5F, (one byte): Response to boot program state inquiry
• Size (one byte): The number of bytes. This is fixed to 2.
• Status (one byte): Status of the boot program
• ERROR (one byte): Error status
ERROR = 0 indicates normal operation.
ERROR = 1 indicates error has occurred.
• SUM (one byte): Checksum
Table 24.19 Status Codes
Code
Description
H'11
Device selection wait
H'12
Clock mode selection wait
H'13
Bit rate selection wait
H'1F
Programming/erasing state transition wait (bit rate selection is completed)
H'31
Programming state for erasure
H'3F
Programming/erasing selection wait (erasure is completed)
H'4F
Program data receive wait
H'5F
Erase block specification wait (erasure is completed)
Rev. 1.00 May 09, 2008 Page 796 of 954
REJ09B0462-0100
Inquiry regarding boot program's state
Size
Status
ERROR
SUM