CHAPTER 16 FLASH MEMORY (
µµµµ
PD70F3107A)
536
User’s Manual U14359EJ4V0UM
16.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 16-8. 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
Содержание V850E/MA1
Страница 2: ...2 User s Manual U14359EJ4V0UM MEMO...