Figure 20.21 Communication Protocol Format - Renesas H8S/2437 Hardware Manual

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

Advertisement

One-byte command
or one-byte response
n-byte command or
n-byte response
Error response
128-byte programming
Memory read
response
• Command (one byte): Commands including inquiries, selection, programming, erasing, and
checking
• Response (one byte): Response to an inquiry
• Size (one byte): The amount of data for transfer excluding the command, amount of data, and
checksum
• Checksum (one byte): The checksum is calculated so that the total of all values from the
command byte to the SUM byte becomes H'00.
• Error response (one byte): Error response to a command
• Error code (one byte): Type of the error
• Address (four bytes): Address for programming
• Data (n bytes): Data to be programmed (The size is indicated in the response to the
programming unit inquiry.)
• Size (four bytes): Four-byte response to a memory read
Rev. 1.00, 09/03, page 586 of 704
Command or response
Data
Size
Command or response
Error code
Error response
Address
Data (n bytes)
Command
Data
Size
Response

Figure 20.21 Communication Protocol Format

Checksum
Checksum
Checksum

Advertisement

Table of Contents
loading

Table of Contents