Datasheet
Section 20 Flash Memory (0.18-μm F-ZTAT Version)
Rev.6.00 Mar. 18, 2009 Page 806 of 980
REJ09B0050-0600
(11) 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.
(12) User-Boot Program Sum Check
The boot program will return the byte-by-byte total of the contents of the bytes of the user-boot
program, as a four-byte value.
Command H'4A
• Command, H'4A, (one byte): Sum check for user-boot program