English
Language : 

R01US0068EJ0100 Datasheet, PDF (21/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
3.3 Basic Flowchart
Chapter 3 EEL Functional Specifications
Figure 3-2 below shows the basic procedure to perform read and write operations for the data flash by using the
EEL.
Figure 3-2 Basic Flowchart of EEL
start
(1) FDL_Init function
(2) FDL_Open function
(3) EEL_Init function
(4) EEL_Open function
(5) EEL_Execute function
EEL_CMD_STARTUP
(6) EEL_Execute function
EEL_CMD_WRITE
EEL_ERR_POOL_FULL?
No
(7) EEL_Execute function
EEL_CMD_READ
Yes
(8) EEL_Execute function
EEL_CMD_REFRESH
(9) EEL_Execute function
EEL_CMD_SHUTDOWN
(10) EEL_Close function
(11) FDL_Close function
end
Note 1: When using the EEPROM emulation for the first time, be sure to execute the EEL_CMD_FORMAT
command.
Note 2: Error processing is omitted in the above flowchart.
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 21 of 53