English
Language : 

R01US0068EJ0100 Datasheet, PDF (20/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
Chapter 3 EEL Functional Specifications
[Overview of state transitions diagram]
To use EEL to manipulate the data flash memory, it is necessary to execute the provided functions in order to
advance the processing.
(1) uninitialized
This is the state after turning the power on or resetting.
(2) closed
This is the state in which the data to perform EEPROM emulation is initialized by executing the FDL_Init,
FDL_Open, and EEL_Init functions (no ongoing operation to the data flash memory).
To execute FSL, STOP mode, or HALT mode processing after executing EEPROM emulation, execute
EEL_Close in the opened state to switch to the closed state.
(3) opened
This state is switched to by executing EEL_Open in the closed state and makes it possible to perform
operations on the data flash memory. It is not possible to execute FSL, STOP mode, or HALT mode
processing until EEL_Close is executed and the system switches to the closed state.
(4) started
This state is switched to by executing the EEL_CMD_STARTUP command in the opened state and
makes it possible to execute EEPROM emulation. Writes and reads that use EEPROM emulation are
performed in this state.
(5)exhausted
This state is made from the opened or started state when continuously usable EEL blocks have been
exhausted during command execution. In this state, only EEL_CMD_READ, EEL_CMD_VERIFY, and
EEL_CMD_SHUTDOWN commands are executable.
(6) busy
This is the state used when executing a specified command. The state that is switched to differ
depending on which command is executed and how it terminates.
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 20 of 53