Datasheet

Section 7 ROM
Page 206 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(i) Data Flash Blank Check
In response to a data flash blank check command, the boot program checks to see if the whole data
flash areas are blank and returns an indicator of the result.
Command H'62
Command H'62 (1 byte): Data flash blank check
Response H'06
Response H'06 (1 byte): Response to a data flash blank check command.
The ACK code is returned when the whole areas are blank (all bytes are H'FF).
Error response
H'E2 H'52
Error response H'E2 (1 byte): Error response to a data flash blank check command
Error code H'52 (1 byte): Non-erased error
(j) Lock-Bit State Read
The lock bit for an area of user ROM (other than the data flash area) is read, and the result is
returned.
Command H'71 Size Area Medium address Upper address SUM
Command H'71 (1 byte): Lock-bit state read
Size (1 byte): The total size of the area, medium address, and upper address fields (fixed to 3).
Area (1 byte): H'01: User ROM area
Medium address (1 byte): Middle-order bits (bits 8 to 15) of the address where the block ends
Upper address (1 byte): Higher-order bits (bits 16 to 23) of the address where the block ends
SUM (1 byte): Checksum value such that the sum of all bytes from the command to the SUM
field becomes H'00.
Response STATUS