Datasheet
CHAPTER 24 FLASH MEMORY
User’s Manual U18698EJ1V0UD
523
The following figure illustrates a flow of rewriting the flash memory by using a self programming sample library.
Figure 24-12. Flow of Self Programming (Rewriting Flash Memory)
Start of self programming
FlashStart
FLMD0 pin
Low level
→ High level
Normal completion?
Yes
No
Setting operating environment
FlashEnv
CheckFLMD
FlashBlockBlankCheck
Erased?
Yes
Yes
No
FlashBlockErase
Normal completion?
FlashWordWrite
Normal completion?
FlashBlockVerify
Normal completion?
FlashEnd
FLMD0 pin
High level → Low level
End of self programming
Yes
Yes
No
No
No