CHAPTER 26 FLASH MEMORY
Preliminary User’s Manual U17260EJ3V1UD
575
The procedure of self-programming is illustrated below.
Figure 26-16. Self-Programming Procedure
Execute EI instruction
Secure entry RAM area
Execute DI instruction
FLMD0 pin = High level
Start self-programming
FLMD0 pin = Low level
Confirm library return value
End of self-programming
Entry program
(user program)
Library
Entry program
(user program)
Set parameters
to entry RAM
Execute library and access
flash memory according
to library contents
No interrupt request
Interrupt request
Interrupt servicing
Self-programming
being suspended