20. Flash Memory Version
puorG92/C61M
page 350
854fo7002,03.raM21.1.veR
2110-1010B90JER
Figure 20.13 Block Erase Command (at use erase suspend)
NOTES:
1. Write the command code and data to even address.
2. Execute the clear status register command and block erase command at least 3 times until an
erase error is not generated when an erase error is generated.
3. In EW mode 0, allocate an interrupt vector table of an interrupt, to be used, to the RAM area
4. Refer to Figure 20.14.
Start
Block erase completed
Write the command code
xx2016
(1)
Write xxD016 to the highest-order
block address
(1)
YES
NO
FMR00=1?
Full status check
(2,4)
FMR40=1
Interrupt service routine
(3)
FMR41=1
YES
NO
FMR46=1?
Access Flash Memory
Return
(Interrupt service routine end)
FMR41=0
(EW mode 0)
(EW mode 1)
Start
Block erase completed
Write the command code
xx2016
(1)
Write xxD016 to the highest-order
block address
(1)
YES
NO
FMR00=1?
Full status check
(2,4)
FMR40=1
FMR41=0
Interrupt service routine
Access Flash Memory
Return
(Interrupt service routine end)