Datasheet

Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1195 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
(11) Memory Read
The boot program will return the data stored in the specified address in response to a memory read
command.
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'01: User ROM area
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 ROM.
H'2B: Data size error
The read size is greater than the size of the ROM.