English
Language : 

SH7059 Datasheet, PDF (803/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
24. ROM (SH7058S)
Memory Read: The boot program will return the data in the specified address.
Command H'52 Size Area Read start address
Read size
SUM
⎯ Command: H'52 (one byte): Memory read
⎯ Size (one byte): Amount of data that represents the area, read address, and read size (fixed at 9)
⎯ Area (one byte)
H'11: User boot MAT
H'01: User MAT
An address error occurs when the area setting is incorrect.
⎯ Read start address (four bytes): Start address to be read from
⎯ Read size (four bytes): Size of data to be read
⎯ SUM (one byte): Checksum
Response H'52 Read size
Data …
SUM
⎯ Response: H'52 (one byte): Response to memory read
⎯ Read size (four bytes): Size of data to be read
⎯ Data (n bytes): Data for the read size from the read address
⎯ SUM (one byte): Checksum
Error response H'D2 ERROR
⎯ Error response: H'D2 (one byte): Error response to memory read
⎯ ERROR: (one byte): Error code
H'11: Checksum error
H'2A: Address error
The read address is not in the MAT.
H'2B: Size error
The read size exceeds the MAT. Or, the read end address calculated from the read start address and read size is out
of the MAT range, or the read size is 0.
User Boot MAT Checksum: The boot program will add the amount of data in user boot MATs and return the result. The
user boot MAT checksum value is calculated as a 16-Kbyte area. The checksum value is the sum of 12 Kbytes of user boot
MAT data and 4 Kbytes of H'FF data.
Command H'4A
⎯ Command: H'4A (one byte): Checksum of user boot MATs
Response H'5A Size MAT checksum
SUM
⎯ Response: H'5A (one byte): Response to checksum of user boot MATs
⎯ Size (one byte): Number of characters in checksum data (fixed at 4)
⎯ MAT checksum (4 bytes): The user boot MAT checksum value calculated by adding byte units, with a further 4
Kbytes of H'FF data added
⎯ SUM (one byte): Checksum (for transmit data)
Rev.3.00 Mar. 12, 2008 Page 713 of 948
REJ09B0177-0300