CHAPTER 26 FLASH MEMORY
User’s Manual U16896EJ2V0UD
648
26.5.3 Standard self programming flow
The entire processing to rewrite the flash memory by flash self programming is illustrated below.
Figure 26-17. Standard Self Programming Flow
(a) Rewriting at once
(b) Rewriting in block units
Flash environment
initialization processing
Erase processing
Write processing
Flash information setting
processing
Note 1
Internal verify processing
Boot area swapping
processing
Note 2
Flash environment
end processing
Flash memory manipulation
End of processing
Flash environment
initialization processing
Erase processing
Write processing
Flash information setting
processing
Note 1
Internal verify processing
Boot area swapping
processing
Note 2
Flash environment
end processing
Flash memory manipulation
End of processing
All blocks end?
Yes
No
•
Disable accessing flash area
•
Disable setting of STOP mode
•
Disable stopping clock
•
Disable accessing flash area
•
Disable setting of STOP mode
•
Disable stopping clock
Notes 1.
If a security setting is not performed, flash information setting processing does not have to be
executed.
2.
If boot swap is not used, flash information setting processing and boot area swap processing do not
have to be executed.
<R>