Datasheet

Section 24 Flash Memory
Rev. 2.00 Sep. 28, 2009 Page 821 of 994
REJ09B0452-0200
2. Erasure
Erasure is executed by the erasure selection and block erasure commands.
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 sequence for the erasure selection and block erasure commands is shown in figure 24.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 24.23 Erasure Sequence