We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Hi,
is it clear'd by the startup assembly?
so does a reset clear it or just a power down and up?
Always yo're freind,
Zeusti.
(Now in partnership with Laramy Spart) "Writing more software for humans"
+745 n203
At first i thought it was cleared after powerup, but now I see it cleared after reset. I do not initialize the variable at this memory address. Somehow it looks like this area is zero-init, although I directly specify as UNINIT in the scatter file.
zero-init section?
yes, i think you must check the scatter file.
eges pizza base and fries wi
Seems that when the Battery RAM area is allocated with linker, the area is set for zero-init (ZI). When I removed all reference for allocation (in scatter file), it now works, but I get a warning on the linker that no algorithm found for the Battery RAM area. ..... go figure?
To all, the help is appreciated!
W.
Hi, I have the same problem. But I have found this link: http://www.keil.com/support/docs/3290.htm
For me, now it's work.