RL78/G1H CHAPTER 27 FLASH MEMORY
R01UH0575EJ0120 Rev. 1.20 Page 819 of 920
Dec 22, 2016
27.5.1 Self-programming procedure
The following figure illustrates a flow for rewriting the code flash memory by using a flash self-programming library.
Figure 27 - 6 Flow of Self-Programming (Rewriting Flash Memory)
Initialize flash environment
Code flash memory control start
Flash shield window setting
Erase
Write
Verify
Flash information getting
Flash information setting
Close flash environment
End
• Inhibit access to flash memory
• Inhibit shifting STOP mode
• Inhibit clock stop