Section 21 Flash Memory (0.18-µm F-ZTAT Version)
4. Programming of 128 bytes
The size is not specified in the commands. The data size is indicated in the response to the
programming unit inquiry.
5. Memory read response
This response consists of r4 bytes of data.
1-byte command
or 1-byte response
n-byte command or
n-byte response
Error response
128-byte programming
Memory read
response
• Command (1 byte): Commands for inquiries, selection, programming, erasing, and checking
• Response (1 byte): Response to an inquiry
• Size (1 byte): The amount of transfer data excluding the command, size, and checksum
• Data (n bytes): Detailed data of a command or response
• 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.
• 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 (n is indicated in the response to the programming unit
inquiry.)
• Data size (4 bytes): Four-byte response to a memory read
Rev. 3.00 Jul. 14, 2005 Page 800 of 986
REJ09B0098-0300
Command or response
Data
Data size
Command or response
Error code
Error response
Data (n bytes)
Address
Command
Data
Data size
Response
Figure 21.21 Communication Protocol Format
Checksum
Checksum
Checksum