English
Language : 

SH7080_09 Datasheet, PDF (1372/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 23 Flash Memory
• Inquiry on boot program state
In response to the command for inquiry on the state of the boot program, the boot program returns
an indicator of its current state and error information. This inquiry can be made in the inquiry-and-
selection state or the programming/erasure state.
Command H'4F
⎯ Command H'4F (1 byte): Inquiry on boot program state
Response
H'5F
Size
STATUS
ERROR
SUM
⎯ Response H'5F (1 byte): Response to the inquiry regarding boot-program state
⎯ Size (1 byte): The number of characters in STATUS and ERROR (fixed at 2)
⎯ STATUS (1 byte): State of the standard boot program
See table 23.15, Status Codes.
⎯ ERROR (1 byte): Error state (indicates whether the program is in normal operation or an
error has occurred)
ERROR = 0: Normal
ERROR ≠ 0: Error
See table 23.16, Error Codes.
⎯ SUM (1 byte): Checksum
Table 23.15 Status Codes
Code
H'11
H'12
H'13
H'1F
H'31
H'3F
H'4F
H'5F
Description
Waiting for device selection
Waiting for clock-mode selection
Waiting for bit-rate selection
Waiting for transition to programming/erasure status (bit-rate selection complete)
Erasing the user MAT or user boot MAT
Waiting for programming/erasure selection (erasure complete)
Waiting to receive data for programming (programming complete)
Waiting for erasure block specification (erasure complete)
Rev. 4.00 Dec. 15, 2009 Page 1312 of 1558
REJ09B0181-0400