Section 17 Flash Memory (0.18-(m F-ZTAT Version)
Rev. 3.00 Mar. 14, 2006 Page 654 of 804
REJ09B0104-0300
(f)
Memory Read
The boot program will return the data in the specified address.
Command H'52 Size Area Read
address
Read
size
SUM
•
Command: H'52 (1 byte): Memory read
•
Size (1 byte): Amount of data that represents the area, read address, and read size (fixed at 9)
•
Area (1 byte)
H'00: User boot MAT
H'01: User
MAT
An address error occurs when the area setting is incorrect.
•
Read address (4 bytes): Start address to be read from
•
Read size (4 bytes): Size of data to be read
•
SUM (1 byte): Checksum
Response
H'52
Read
size
Data
···
SUM
•
Response: H'52 (1 byte): Response to memory read
•
Read size (4 bytes): Size of data to be read
•
Data (n bytes): Data for the read size from the read address
•
SUM (1 byte): Checksum
Error Response
H'D2
ERROR
•
Error response: H'D2 (1 byte): Error response to memory read
•
ERROR: (1 byte): Error code
H'11: Sum check error
H'2A: Address error
The read address is not in the MAT.
H'2B: Size error
The read size exceeds the MAT.
electronic components distributor