Section 17 Flash Memory (0.18-(m F-ZTAT Version)
(f)
Memory Read
The boot program will return the data in the specified address.
Command
H'52
Read size
• 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
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
• 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
H'2B: Size error
Rev. 3.00 Mar. 14, 2006 Page 654 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
Size
Area
Read size
···
H'D2
ERROR
The read address is not in the MAT.
The read size exceeds the MAT.
Read address
SUM