Datasheet

Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 205 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(g) Programmable ROM Blank Check
In response to a programmable ROM blank check command, the boot program checks to see if the
whole the programmable ROM area is blank and returns the result.
Command H'4D
Command H'4D (1 byte): Programmable ROM blank check
Response H'06
Response H'06 (1 byte): Response to a programmable ROM blank check command
The ACK code is returned when the whole area is blank (all bytes are H'FF).
Error response
H'CD H'52
Error response H'CD (1 byte): Error response to a programmable ROM blank check command
Error code H'52 (1 byte): Non-erased error
(h) Data Flash Sum Check
In response to a data flash sum check command, the boot program obtains the sum of all bytes in
the data flash areas and returns the result.
Command H'61
Command H'61 (1 byte): Data flash sum check
Response H'71 Size Checksum SUM
Response H'71 (1 byte): Response to a data flash sum check command
Size (1 byte): The number of characters in the checksum field (fixed to 4)
Checksum (4 bytes): Result of checksum calculation for the data flash areas; the byte-wise sum
of all data in the areas.
SUM (1 byte): Checksum value that makes the sum of the bytes from the command to the
SUM byte become H'00.