CHAPTER 15 FLASH MEMORY (
µ
PD70F3114)
629
User’s Manual U15195EJ5V0UD
15.7.14 Erasing flash memory flow
The procedure to erase the flash memory is illustrated below. The processing of each function number must be
executed in accordance with the specified calling procedure.
Figure 15-17. Erasing Flash Memory Flow
... Function No. 20
... Function No. 1
... Function No. 9
... Function No. 10
... Function No. 5
... Function No. 10
... Function No. 9
Erase
Write error
Undererase error
Set RAM parameter.
Mask interrupts.
Pre-write
Erase area
Erase byte verify
Erase verify
Area write back
Erase verify
Clear number of times
write-back is repeated.
Erase byte verify
Write error?
Undererase?
Maximum
number of times
of repeating erasure is
exceeded?
Maximum
number of times
of repeating write-back is
exceeded?
Overerase?
Overerase?
Undererase?
Set V
PP
voltage.
Clear V
PP
voltage.
Unmask interrupts.
Clear V
PP
voltage.
Unmask interrupts.
Normal completion
Clear V
PP
voltage.
Unmask interrupts.
Overerase error
Clear V
PP
voltage.
Unmask interrupts.
Normal completion
Clear V
PP
voltage.
Unmask interrupts.
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
No
Yes
No
Yes
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...