English
Language : 

SH7058 Datasheet, PDF (966/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
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): Inquiry regarding boot program status
Response H'5F Size STATUS ERROR SUM
 Response: H'5F (one byte): Response to inquiry regarding boot program status
 Size (one byte): Number of characters in data (fixed at 2)
 STATUS (one byte): Standard boot program status
For details, see table 23.20, Status Code
 ERROR (one byte): Error state
ERROR = 0 indicates normal operation.
ERROR = 1 indicates error has occurred
For details, see table 23.21, Error Code.
 SUM (one byte): Checksum
Table 23.20 Status Code
Code
H'01
H'02
H'03
H'0F
H'31
H'3F
H'4F
H'5F
Description
Device Selection Wait
Clock Mode Selection Wait
Bit Rate Selection Wait
Programming/Erasing State Transition Wait (bit rate selection is completed)
Programming State for Erasing User MAT and User Boot MAT
Programming/Erasing Selection Wait (Erasure is completed)
Programming Data Receive Wait
Erasure Block Specification Wait (erasure is completed)
Rev. 3.0, 09/04, page 925 of 1086