Renesas H8S/2437 Hardware Manual page 626

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

All of these commands, except for the boot program status inquiry command (H'4F), will be valid
until the boot program receives the transition to programming/erasing state command (H'40). The
host can select the needed commands out of the commands listed above and inquire them. The
boot program status inquiry command (H'4F) is valid after the boot program has received the
transition to programming/erasing state 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, (one byte): Inquiry regarding supported devices
Response
H'30
Number of
characters
···
SUM
• Response, H'30, (one byte): Response to the supported device inquiry
• Size (one byte): Number of bytes to be transferred, excluding the command, size, and
checksum, that is, the amount of data consists of the number of devices, characters, device
codes, and product names
• Number of devices (one byte): The number of device types supported by the boot program
• Number of characters (one byte): The number of characters in the device codes and boot
program's name
• Device code (four bytes): ASCII code of the supported product name
• Product name (n bytes): Type name of the boot program in ASCII-coded characters
• SUM (one byte): Checksum
• The checksum is calculated so that the total number of all values from the command byte to
the SUM byte becomes H'00.
(b) Device Selection
The boot program will set the supported device to the specified device code. The program will
return the selected device code in response to the inquiry after this setting has been made.
Command
H'10
• Command, H'10, (one byte): Device selection
• Size (one byte): Amount of device-code data
This is fixed to 2
Rev. 1.00, 09/03, page 588 of 704
Size
Number of devices
Device code
Size
Device code
Product name
SUM

Advertisement

Table of Contents
loading

Table of Contents