Datasheet

Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 601 of 710
REJ09B0384-0300
(16) 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, (1 byte): Inquiry regarding boot program's state
Response H'5F Size Status ERROR SUM
Response, H'5F, (1 byte): Response to boot program state inquiry
Size (1 byte): The number of bytes. This is fixed to 2.
Status (1 byte): State of the boot program
ERROR (1 byte): Error status
ERROR = 0 indicates normal operation.
ERROR = 1 indicates error has occurred.
SUM (1 byte): Sum check
Table 19.13 Status Code
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 Programming Data Receive Wait (Programming is completed)
H'5F Erasure Block Specification Wait (Erasure is completed)