Datasheet

Section 7 ROM
Page 200 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
(b) 128-Byte Programming
In response to a 128-byte programming command, the boot program programs the user ROM area
according to the programming-control program transferred in response to the user-ROM-area
programming selection command.
Command H'50 Address
Data
SUM
Command H'50 (1 byte): 128-byte programming
Address for programming (4 bytes): Address at which programming starts
The address should be the multiple of the size returned in response to the programming-size
inquiry command.
[Example] H'00, H'01, H'00, H'00: H'00010000
Programming data (128 bytes): Data for programming
The size of the programming data is the size returned in response to the programming-size
inquiry command.
SUM (1 byte): Checksum
Response H'06
Response H'06 (1 byte): Response to a 128-byte programming command.
The ACK code is returned upon completion of the requested programming.
Error response
H'D0 ERROR
Error response H'D0 (1 byte): Error response to a 128-byte programming command
ERROR (1 byte): Error code
H'11: Checksum error
H'2A: Address error. This error indicates that the address is not within the specified range of
areas.
H'53: Programming error (programming failed because of an error in programming)