I have a program in C and inside the routine "Void Main" I need to write and then read a value in ROM, then I update this value to save again in ROM. This value can not be lost in case of power failure. Resident routines did not work. Does anyone have any routine about this? Thank you.