Renesas H8S Series Hardware Manual page 864

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 21 Flash Memory (0.18-µm F-ZTAT Version)
Command
H'50
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 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
• 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. 3.00 Jul. 14, 2005 Page 816 of 986
REJ09B0098-0300
Address
···
ERROR
Address
SUM

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents