Datasheet

Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1175 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
Command or response
Size
Data
Checksum
Error response
Error code
Command or response
Error response
n-byte Command or
n-byte response
One-byte command
or one-byte response
Address
Command
Data (n bytes)
Checksum
128-byte programming
Size
Response
Data
Checksum
Memory read
response
Figure 22.12 Communication Protocol Format
Command (1 byte): Commands including inquiries, selection, programming, erasing, and
checking
Response (1 byte): Response to an inquiry
Size (1 byte): The amount of data for transmission excluding the command, data, and
checksum
Data (n bytes): Detailed data of a command or response
Checksum (1 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 (1 byte): Error response to a command
Error code (1 byte): Type of the error
Address (4 bytes): Address for programming
Data (n bytes): Data to be programmed (the size is indicated in the response to the
programming unit inquiry.)
Size (4 bytes): 4-byte response to a memory read