Renesas H8S/2100 Series Hardware Manual page 820

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

Section 24 Flash Memory
(f)
Memory Read
The boot program will return the data in the specified address.
Command
H'52
Read size
• 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'01: User MAT
An address error occurs when the area setting is incorrect.
• Read 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
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 response: H'D2 (one byte): Error response to memory read
• ERROR: (one byte): Error code
H'11: Check sum error
H'2A: Address error
The read address is not in the MAT.
H'2B: Size error
The read size exceeds the MAT.
Rev. 1.00 May 09, 2008 Page 794 of 954
REJ09B0462-0100
Size
Area
Read address
Read size
...
ERROR
SUM

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents