Datasheet
Section 22 Flash Memory
Page 1194 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
(a) Erasure Selection
The boot program will transfer the erasure program. User ROM data is erased by the transferred
erasure program.
Command H'48
• Command, H'48, (1 byte): Erasure selection
Response H'06
• Response, H'06, (1 byte): Response for erasure selection
After the erasure program has been transferred, the boot program will return ACK.
Error response H'C8 ERROR
• Error response, H'C8, (1 byte): Response to erasure selection
• ERROR (1 byte): Error code
H'54: Selection processing error (transfer error occurs and processing is not completed)
(b) Block Erasure
The boot program will erase the contents of the specified block.
Command H'58 Size Block number SUM
• Command, H'58, (1 byte): Block erasure
• Size (1 byte): The number of bytes that represents the erasure block number
This is fixed to 1.
• Block number (1 byte): Number of the block to be erased
• SUM (1 byte): Checksum
Response H'06
• Response, H'06, (1 byte): Response to Erasure
After erasure has been completed, the boot program will return ACK.
Error Response H'D8 ERROR
• Error Response, H'D8, (1 byte): Response to block erasure
• ERROR (1 byte): Error code
H'11: Sum check error
H'29: Block number error
Block number is incorrect.
H'51: Erasure error
An error has occurred during erasure.