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

UNINIT Section Gets Zero Filled

Hello all,

I'm trying to define an uninitialized section in RAM so that I can save some data when a soft reset occurs. However this section seems to be getting filled with zeros by the scatterload function.

I have defined the variable like this, in saved_ram.cpp:

The scatter file for my project is:

In the map file, I can see that the region is created and has the expected attributes:

Any ideas as to why this does not work?

Thanks,

Oliver

0