|
SH7280 Datasheet, PDF (1482/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family | |||
|
◁ |
Section 26 Flash Memory
4. 256-byte programming command
The command itself does not include data-size information. The data length is known from the
response to the command for inquiring about the programming size.
5. Response to a memory reading command
This response includes four bytes of size information.
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
256-byte
programming command
Response to
memory read command
Address
Command
Data size
Response
Data (n bytes)
Data
Checksum
Checksum
Figure 26.23 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, 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 is 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. 1.00 Jun. 26, 2008 Page 1452 of 1692
REJ09B0393-0100
|
▷ |