English
Language : 

H8S2112 Datasheet, PDF (744/894 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
Section 22 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): 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): 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 22.17 Status Codes
Code
H'11
H'12
H'13
H'1F
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 erasure
Programming/erasing selection wait (erasure is completed)
Program data receive wait
Erase block specification wait (erasure is completed)
Rev. 1.00 Mar. 18, 2008 Page 720 of 866
REJ09B0451-0100