Data Storage

I just bought a BL4S2100 SBC for a commercial product I’m designing and need to know if there is a way to make some of the variables I will need nonvolatile? If not then I must add an EEPROM to one of my circuit boards. Obviously I am a rank beginner at C so please forgive me.


Hi Tom,

Dynamic C has the ability to store variables in battery backed RAM on those products that support it (the BL4S210 does). This is done by adding bbram to the declaration for the variable. Have a look in the manual for the bbram keyword for details.