This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Battery RAM not saving data

Having problem with Battery RAM area 0xE0084000 - 0xE00847FF. Have 32 data stored there, but it is lost when power is removed.
Vbat is connected and battery voltage is good. RTC retains date & time data just fine.

Made sure the Linker Scatter file does not have zero-init applied.

Not sure what I'm missing?

Any help would be appreciated.

Thanks,

Walt

Parents
  • For some reason you seem to have missed mentioning what chip, but it seems to be a NXP LPC23xx chip.

    I haven't had any problems with memory retention. I have never bothered to add this memory area in the project or scatter file. I just set a struct pointer to this address and take everything from there. A bit of validation with CRC etc to decide if the memory is valid or not.

Reply
  • For some reason you seem to have missed mentioning what chip, but it seems to be a NXP LPC23xx chip.

    I haven't had any problems with memory retention. I have never bothered to add this memory area in the project or scatter file. I just set a struct pointer to this address and take everything from there. A bit of validation with CRC etc to decide if the memory is valid or not.

Children