Datasheet
Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 203 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
On receiving the command with H'FF as the block number, the boot program terminates erasure
processing and waits for the next programming/erasure selection command.
Command H'58 Size Block
number
SUM
• Command H'58 (1 byte): Block erasure
• Size (1 byte): The number of characters in the block number field (fixed to 1)
• Block number (1 byte): H'FF (erasure terminating code)
• SUM (1 byte): Checksum
Response H'06
• Response H'06 (1 byte): Response to the block erasure command for terminating erasure
processing; ACK code is returned upon termination of the erasure process.
To perform erasure again after issuing the command with H'FF as the block number, start the
process by sending an erasure selection command.
(e) Memory Read
In response to a memory read command, the boot program returns the data stored in the specified
address.
Command H'52 Size Area Address for reading
Reading size SUM
• Command H'52 (1 byte): Memory read
• Size (1 byte): The total size of the area, address-for-reading, and reading-size fields (fixed to 9)
• Area (1 byte):
H'01: User ROM area
Specifying an incorrect area causes an address error.
• Address for reading (4 bytes): Address where reading starts
• Reading size (4 bytes): The amount of data to be read
• SUM (1 byte): Checksum