Datasheet
Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 598 of 710
REJ09B0384-0300
On receiving block number H'FF, the boot program will stop erasure and wait for a selection
command.
Command H'58 Size Block number SUM
• Command, H'58, (1 byte): Erasure
• Size, (1 byte): The number of bytes that represents the block number
This is fixed to 1.
• Block number (1 byte): H'FF
Stop code for erasure
• SUM (1 byte): Checksum
Response H'06
• Response, H'06, (1 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.
(11) Memory read
The boot program will return the data in the specified address.
Command H'52 Size Area Read address
Read size SUM
• Command: H'52 (1 byte): Memory read
• Size (1 byte): Amount of data that represents the area, read address, and read size (fixed at 9)
• Area (1 byte)
H'00: User boot MAT
H'01: User MAT
An address error occurs when the area setting is incorrect.
• Read address (4 bytes): Start address to be read from
• Read size (4 bytes): Size of data to be read
• SUM (1 byte): Checksum
Response H'52 Read size
Data ···
SUM
• Response: H'52 (1 byte): Response to memory read
• Read size (4 bytes): Size of data to be read
• Data (n bytes): Data for the read size from the read address
• SUM (1 byte): Checksum