how to write a variable in rl78g15 in dataflash/eeprom (save even after power off) and read it?

i am using rl78g15 new 20 pin controller , in application need to store the varible in eeprom and fetch after power transition (last state of the varible),please support

thanks in advance..... 

Parents
  • It isn't clear that it is understood that the RL78 data-flash is not EEPROM, which requires EEPROM emulation to implement wear-leveling to increase endurance / retention and provide resistance to resets for data loss.  The G15 device requires the RFD/EES T01 software.

    Only erased flash cells can be written (minimum write unit on G15 is 4-bytes), as such the block being written has to be pre-erased.  Erase operations take a relatively long period of time, while a write operation is very fast in comparison.  Using EEPROM emulation for a write incurs more overhead to use than a direct RFD write operation, unless there is a timing requirement such as trying to write data when power has been removed it would be recommended to use the EES.

Reply
  • It isn't clear that it is understood that the RL78 data-flash is not EEPROM, which requires EEPROM emulation to implement wear-leveling to increase endurance / retention and provide resistance to resets for data loss.  The G15 device requires the RFD/EES T01 software.

    Only erased flash cells can be written (minimum write unit on G15 is 4-bytes), as such the block being written has to be pre-erased.  Erase operations take a relatively long period of time, while a write operation is very fast in comparison.  Using EEPROM emulation for a write incurs more overhead to use than a direct RFD write operation, unless there is a timing requirement such as trying to write data when power has been removed it would be recommended to use the EES.

Children
No Data