Datasheet
Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 578 of 710
REJ09B0384-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 4 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
1-byte command
or 1-byte response
Address
Command
Data (n bytes)
Checksum
128-byte programming
Size
Response
Data
Checksum
Memory read
response
Figure 19.20 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.)