English
Language : 

SH7125 Datasheet, PDF (648/782 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer
Section 17 Flash Memory
One-character command
or one-character response
n-character command
or n-character response
Error response
Command or response
Data
Size
Command or response
Error code
Error response
Checksum
128-byte
programming command
Response to
memory read command
Address
Command
Data size
Response
Data (n bytes)
Data
Checksum
Checksum
Figure 17.17 Formats in the Communications Protocol
 Command (1 byte): Inquiry, selection, programming, erasure, checking, etc.
 Response (1 byte): Response to an inquiry
 Size (one or two bytes): The length of data for transfer, excluding the command/response
code, size, and checksum.
 Data (n bytes): Particular data for the command or response
 Checksum (1 byte): Set so that the total sum of byte values from the command code to the
checksum and change lower one byte to H'00.
 Error response (1 byte): Error response to a command
 Error code (1 byte): Indicates the type of error.
 Address (4 bytes): Address for programming
 Data (n bytes): Data to be programmed. "n" is known from the response to the command
used to inquire about the programming size.
 Data size (4 bytes): Four-byte field included in the response to a memory reading
command.
Rev. 3.00 Sep. 27, 2007 Page 628 of 758
REJ09B0243-0300