CHAPTER 19 FLASH MEMORY
Preliminary User’s Manual U19014EJ1V0UD
468
The following figure illustrates a flow of rewriting the flash memory by using a self programming sample library.
Figure 19-16. 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
Remark
For details of the self programming sample library, refer to
78K0/Kx2 Flash Memory Self
Programming User’s Manual (U17516E)
.
electronic components distributor