Datasheet

Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 596 of 710
REJ09B0384-0300
Error Response H'D0 ERROR
Error Response, H'D0, (1 byte): Error response for 128-byte programming
ERROR: (1 byte): Error code
H'11: Checksum error
H'2A: Address error
H'53: Programming error
An error has occurred in programming and programming cannot be continued.
(10) Erasure
Erasure is performed with the erasure selection and block erasure command.
Firstly, erasure is selected by the erasure selection command and the boot program then erases the
specified block. The command should be repeatedly executed if two or more blocks are to be
erased. Sending a block-erasure command from the host with the block number H'FF will stop the
erasure operating. On completion of erasing, the boot program will wait for selection of
programming or erasing.
The sequences of issuing the erasure selection command and block-erasure command are shown in
figure 19.23.
Transfer of erasure
program
Host Boot program
Preparation for erasure (H'48)
ACK
Erasure
Erasure (Erasure block number)
Erasure (H'FF)
ACK
ACK
Repeat
Figure 19.23 Erasure Sequence