Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  25   FLASH  MEMORY 
25.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 25-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
 
 
R01UH0305EJ0200  Rev.2.00 
 
 
816  
Jul 04, 2013