Renesas H8SX/1520 Series Hardware Manual page 691

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

(e)
Block Erasure
The boot program will erase the contents of the specified block.
Command
• Command, H'58, (one byte): Erasure
• Size (one byte): The number of bytes that represents the erase block number
This is fixed to 1.
• Block number (one byte): Number of the block to be erased
• SUM (one byte): Checksum
Response
• Response, H'06, (one byte): Response to Erasure
After erasure has been completed, the boot program will return ACK.
Error Response
• Error Response, H'D8, (one byte): Response to Erasure
• ERROR (one byte): Error code
On receiving block number H'FF, the boot program will stop erasure and wait for a selection
command.
Command
• Command, H'58, (one byte): Erasure
• Size, (one byte): The number of bytes that represents the block number
This is fixed to 1.
• Block number (one byte): H'FF
Stop code for erasure
• SUM (one byte): Checksum
Response
• Response, H'06, (one byte): Response to end of erasure (ACK)
When erasure is to be performed after the block number H'FF has been sent, the procedure
should be executed from the erasure selection command.
Downloaded from
Elcodis.com
electronic components distributor
H'58
Size
Block number
H'06
H'D8
ERROR
H'11:
Sum check error
H'29:
Block number error
Block number is incorrect.
H'51:
Erasure error
An error has occurred during erasure.
H'58
Size
Block number
H'06
Section 17 Flash Memory (0.18-(m F-ZTAT Version)
SUM
SUM
Rev. 3.00 Mar. 14, 2006 Page 653 of 804
REJ09B0104-0300

Advertisement

Table of Contents
loading

Table of Contents