English
Language : 

R01US0068EJ0100 Datasheet, PDF (5/56 Pages) Renesas Technology Corp – EEPROM Emulation Library
RL78 Family
EEPROM Emulation Library Pack02
Contents
Chapter 1 Overview .....................................................................................................7
1.1 Outline ....................................................................................................................................... 7
1.2 Target Devices.......................................................................................................................... 7
1.3 Definition of Terms .................................................................................................................. 7
Chapter 2 EEPROM Emulation ...................................................................................9
2. 1 Specifications of EEPROM Emulation ...................................................................................... 9
2. 2 Outline of Function ..................................................................................................................... 9
2. 3 EEL architecture ....................................................................................................................... 11
2. 3. 1 System Structure ........................................................................................................ 11
2. 3. 2 EEL Pool ...................................................................................................................... 11
2. 3. 3 Structure of EEL Block ............................................................................................... 13
2. 3. 4 EEL Block Header ....................................................................................................... 14
2. 3. 5 Structure of Stored Data ............................................................................................ 15
2. 3. 6 EEL Block Overview ................................................................................................... 16
Chapter 3 EEL Functional Specifications ................................................................17
3.1 EEL Functions / Commands of the EEL_Execute Function .............................................. 17
3. 1. 1 EEL_CMD_STARTUP command [Startup processing] ...........................................17
3. 1. 2 EEL_CMD_SHUTDOWN command [Shutdown processing] ..................................17
3. 1. 3 EEL_CMD_REFRESH command [Refresh processing] ..........................................17
3. 1. 4 EEL_CMD_FORMAT command [Format processing] .............................................18
3. 1. 5 EEL_CMD_WRITE command [Write processing] ....................................................18
3. 1. 6 EEL_CMD_READ command [Read processing] ......................................................18
3. 1. 7 EEL_CMD_VERIFY command [Verify processing] ..................................................18
3.2 State Transitions .................................................................................................................... 19
3.3 Basic Flowchart......................................................................................................................21
3.4 Command Operation Flowchart ........................................................................................... 23
3.5 BGO(Back Ground Operation)function...........................................................................24
Chapter 4 Using EEPROM Emulation.......................................................................25
4.1 Caution Points ........................................................................................................................ 25
4.2 Number of stored user data items and total user data size...............................................27
4.3 Initial Values to be set by User ............................................................................................. 28
Chapter 5 User Interface ...........................................................................................31
5. 1 Request Structure (eel_request_t) Settings........................................................................... 31
5.1.1 User Write Access......................................................................................................32
5.1.2 User Read Access ...................................................................................................... 32
5. 2 EEL Function Calls ................................................................................................................... 33
5. 3 Data Types.................................................................................................................................33
5. 4 EEL Function.............................................................................................................................34
FDL_Init ................................................................................................................................... 35
FDL_Open ............................................................................................................................... 36
FDL_Close............................................................................................................................... 37
EEL_Init ................................................................................................................................... 38
R01US0068EJ0100 Rev.1.00
Mar. 28, 2014
Page 5 of 53