Datasheet

Section 22 Flash Memory
R01UH0309EJ0500 Rev. 5.00 Page 1191 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
(b) 128-Byte Programming
The boot program will use the programming program transferred by the programming selection to
program the user ROMs in response to 128-byte programming.
Command H'50 Address
Data ···
···
SUM
Command, H'50, (1 byte): 128-byte programming
Programming address (4 bytes): Start address for programming
Multiple of the size specified in response to the programming unit inquiry
(i.e. H'00, H'01, H'00, H'00: H'0001 0000)
Programming data (128 bytes): Data to be programmed
The size is specified in the response to the programming unit inquiry.
SUM (1 byte): Checksum
Response H'06
Response, H'06, (1 byte): Response to 128-byte programming
On completion of programming, the boot program will return ACK.
Error Response H'D0 ERROR
Error response, H'D0, (1 byte): Error response for 128-byte programming
ERROR: (1 byte): Error code
H'11: Sum check error
H'2A: Address error
The address is not within the specified ROM.
H'53: Programming error
A programming error has occurred and programming cannot be continued.
The specified address should match the unit for programming of data. For example, when the
programming is in 128-byte units, the lower byte of the address should be H'00 or H'80.
When there are less than 128 bytes of data to be programmed, the host should fill the rest with
H'FF.