English
Language : 

H8S2125 Datasheet, PDF (576/700 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
Section 19 Flash Memory (0.18-µm F-ZTAT Version)
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 command.
(e.g. H'00, H'01, H'00, H'00: H'010000)
• Program data (128 bytes): Data to be programmed.
The size is specified in response to the programming unit inquiry command.
• 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 to 128-byte programming
• ERROR (1 byte): Error code
H'11: Checksum Error
H'2A: Address error
H'53: Programming error
A programming error has occurred and programming cannot be continued.
The specified address should match the boundary of the programming unit. For example, when the
programming unit is 128 bytes, the lower eight bits of the address should be H'00 or H'80.
When the program data is less than 128 bytes, the host should fill the rest with H'FF.
Sending the 128-byte programming command with the address of H'FFFFFFFF will stop the
programming operation. The boot program will interpret this as the end of programming and wait
for selection of programming or erasing.
Command
H'50 Address SUM
• Command, H'50 (1 byte): 128-byte programming
• Programming address (4 bytes): End code (H'FF, H'FF, H'FF, H'FF)
• SUM (1 byte): Checksum
Rev. 1.00 Sep. 21, 2006 Page 538 of 658
REJ09B0310-0100