Datasheet
Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 731 of 910
REJ09B0350-0300
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.
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.20 Communication Protocol Format
• 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
• 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.
• Data (n bytes): Detailed data of a command or response
• 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.)
• Size (four bytes): Four-byte response to a memory read