|
HD64F2168 Datasheet, PDF (713/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer | |||
|
◁ |
This response consists of 4 bytes of data.
1-byte command
or 1-byte response
n-byte Command or
n-byte response
Command or response
Data
Size
Command or response
Checksum
Error response
Error code
Error response
128-byte programming
Address
Command
Data (n bytes)
Checksum
Memory read
response
Size
Response
Data
Checksum
Figure 20.21 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, amount of data,
and checksum
⢠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.
⢠Data (n bytes): Detailed data of a command or response
⢠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
Rev. 3.00, 03/04, page 673 of 830
|
▷ |