Renesas H8S/2100 Series Hardware Manual page 799

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

4. Programming of 128 bytes
The size is not specified in commands. The size of n is indicated in response to the
programming unit inquiry.
5. Memory read response
This response consists of four bytes of data.
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 transmission excluding the command, amount of data,
and checksum
• Data (n bytes): Detailed data of a command or response
• 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.)
• Data Size (four bytes): Four-byte response to a memory read
Command or response
Data
Size
Command or response
Error code
Error response
Address
Data (n bytes)
Command
Size
Data
Response
Figure 24.20 Communication Protocol Format
Section 24 Flash Memory
Rev. 1.00 May 09, 2008 Page 773 of 954
REJ09B0462-0100
Checksum
Checksum
Checksum

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents