Datasheet
RL78/L12    CHAPTER 26 FLASH MEMORY 
R01UH0330EJ0200 Rev.2.00      821 
Dec 13, 2013 
26.6.1 Self-programming procedure 
The following figure illustrates a flow for rewriting the code flash memory by using a flash self-programming library. 
Figure 26-8. Flow of Self Programming (Rewriting Flash Memory) 
Initialize flash environment
Code flash memory control start 
Flash shield window setting 
Erase 
Write 
Flash information getting 
Close flash environment 
End 
Flash information setting 
Verify 
• Inhibit access to flash memory 
•
 Inhibit shifting STOP mode 
•
 Inhibit clock stop 










