Datasheet
Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 755 of 910
REJ09B0350-0300
(k) Boot Program State 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): Inquiry regarding boot program's state
Response H'5F Size Status ERROR SUM
• 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): State of the boot program
• ERROR (one byte): Error status
ERROR = 0 indicates normal operation.
ERROR = 1 indicates error has occurred.
• SUM (one byte): Sum check
Table 22.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)