Datasheet
Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1177 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
The selection commands, which are device selection (H'10), clock mode selection (H'11), and new
bit rate selection (H'3F), should be sent from the host in that order. These commands will certainly
be needed. When two or more selection commands are sent at once, the last command will be
valid.
All of these commands, except for the boot program status inquiry command (H'4F), will be valid
until the boot program receives the programming/erasing transition command (H'40). The host can
choose the needed commands out of the commands and inquiries listed above. The boot program
status inquiry command (H'4F) is valid even after the boot program has received the
programming/erasing transition command (H'40).
(a) Supported Device Inquiry
The boot program will return the device codes of supported devices and the product name in
response to the supported device inquiry.
Command H'20
• Command, H'20, (1 byte): Inquiry regarding supported devices
Response H'30 Size Number of devices
Number of
characters
Device code
Product name
···
SUM
• Response, H'30, (1 byte): Response to the supported device inquiry
• Size (1 byte): Number of bytes to be transmitted, excluding the command, size, and checksum,
that is, the amount of data contributes by the number of devices, characters, device codes and
product names
• Number of devices (1 byte): The number of device types supported by the boot program
• Number of characters (1 byte): The number of characters in the device codes and boot
program's name
• Device code (4 bytes): ASCII code of the supporting product
• Product name (n bytes): Type name of the boot program in ASCII-coded characters
• SUM (1 byte): Checksum
The checksum is calculated so that the total of all values from the command byte to the SUM
byte becomes H'00.