Datasheet

Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 181 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
All the commands in table 7.5 except for the boot-program-state inquiry command (H'4F) are
valid until the boot program accepts the programming/erasure state transition command (H'40).
That is, until the transition command is accepted, the host can repeatedly send inquiry and
selection commands in table 7.5. The boot-program-state inquiry command (H'4F) is valid even
after the boot program accepts the transition-to-programming/erasure-state command (H'40).
(a) Supported-Device Inquiry
In response to a supported-device inquiry command, the boot program returns the device codes of
the supported devices and the device name of the boot program.
Command H'20
Command H'20 (1 byte): Supported-device inquiry
Response H'30 Size Number of
devices
Number of
characters
Device code Device name
SUM
Response H'30 (1 byte): Response to a supported-device inquiry command
Size (1 byte): The size of transmit/receive data excluding the response-command, size, and
checksum fields. Here, it refers to the total size used by the number-of-devices, number-of-
characters, device-code, and device-name fields.
Number of devices (1 byte): The number of device types supported by the boot program in the
microcomputer.
Number of characters (1 byte): The number of characters in the device-code and device-name
fields.
Device code (4 bytes): The supported device code (ASCII code)
Device name (128 bytes): The supported device name (ASCII code)
SUM (1 byte): Checksum