English
Language : 

SH7211 Datasheet, PDF (978/1228 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family
Section 21 Flash Memory
The selection commands should be sent by the host in this order: device selection (H'10), clock-
mode selection (H'11), new bit rate selection (H'3F). These commands are mandatory. If the same
selection command is sent two or more times, the command that is sent last is effective.
All commands in the above table, except for the boot program state inquiry command (H'4F), are
valid until the boot program accepts the transition-to-programming/erasure state command (H'40).
That is, until the transition command is accepted, the host can continue to send commands listed in
the above table until it has made the necessary inquiries and selections. The host can send the boot
program state inquiry command (H'4F) even after acceptance of the transition-to-
programming/erasure state command (H'40) by the boot program.
(a) Inquiry on Supported Devices
In response to the inquiry on supported devices, the boot program returns the device codes of the
devices it supports and the product names of their respective boot programs.
Command H'20
• Command H'20 (1 byte): Inquiry on supported devices
Response
H'30
Number of
characters
…
SUM
Size
No. of devices
Device code
Product name
• Response H'30 (1 byte): Response to the inquiry on supported devices
• Size (1 byte): The length of data for transfer excluding the command code, this field (size), and
the checksum. Here, it is the total number of bytes taken up by the number of devices, number
of characters, device code, and product name fields.
• Number of devices (1 byte): The number of device models supported by the boot program
embedded in the microcontroller.
• Number of characters (1 byte): The number of characters in the device code and product name
fields.
• Device code (4 bytes): Device code of a supported device (ASCII encoded)
• Product name (n bytes): Product code of the boot program (ASCII encoded)
• SUM (1 byte): Checksum
This is set so that the total sum of all bytes from the command code to the checksum is H'00.
Rev. 2.00 May. 08, 2008 Page 954 of 1200
REJ09B0344-0200