HELLO , I NEED TO STORE A VARIBLE IN DATAFLASH OR EEPROM OF RL78G11 OF 16 PIN , WHICH CAN RETAINS ITS VALUE AFTER POWER ON OFF
THANK YOU
Hello Vishu,
Can you tell more about your problem? Which libraries did you try? Do they act the same? What means "not executed properly": does it give an error, or just writes incorrect data, or does the…
For your device R5F1054 it is needed that you reserve a self-RAM area for flash library so the RAM used by your application does not overwrite the necessary self-RAM area. As shown on https://www.renesas…
The data-flash of the RL78 devices can be used like EEPROM with the appropriate emulation software library. Whether you use direct writes to the data-flash memory or the EEPROM emulation is dependent on your software requirements. Keep in mind that the data-flash must be erased in 1KB blocks (there are only 2-blocks on this device), and can be written with 1-byte granularity. EEPROM emulation will provide wear-leveling to increase the endurance, and also provides resistance against loss of data due to resets or power failure by keeping the old data in the memory blocks.