Datasheet
Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 207 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
• STATUS (1 byte): The value 0 for bit 6 indicates the locked state.
• STATUS (1 byte): The value 1 for bit 6 indicates the unlocked state.
Error response
H'F1 ERROR
• Error response H'F1 (1 byte): Error response to a lock-bit state read command
• ERROR (1 byte): Error code
H'11: Checksum error
H'2A: Address error. This error indicates that the specified block address is incorrect.
(k) Lock-Bit Program
This command locks a specified block (other than the data flash area).
Command H'77 Size Area Medium address Upper address SUM
• Command H'77 (1 byte): Lock-bit program
• 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
Response H'06
• Response H'06 (1 byte): Response to a lock-bit program command (ACK code)
Error response
H'F7 ERROR
• Error response H'F7 (1 byte): Error response to an lock-bit program command
• ERROR (1 byte): Error code
H'11: Checksum error
H'2A: Address error
H'53: Programming error. This error indicates that an error occurred in programming of the
lock bit.