<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>UNINIT Section Gets Zero Filled</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/45930/uninit-section-gets-zero-filled</link><description> Hello all, 
 I&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: UNINIT Section Gets Zero Filled</title><link>https://community.arm.com/thread/163750?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 08:55:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:006507e9-7b7d-4d37-a64d-93e513780095</guid><dc:creator>Andy Neil</dc:creator><description>[quote userid="64971" url="~/developer/tools-software/tools/f/keil-forum/45930/uninit-section-gets-zero-filled"]this section seems to be getting filled with zeros[/quote]
&lt;p&gt;How do you determine that?&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;Does this example help:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39290/ram-retention-between-system-resets-pragma-noinit-replacement/152234#152234"&gt;devzone.nordicsemi.com/.../152234&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UNINIT Section Gets Zero Filled</title><link>https://community.arm.com/thread/163748?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 06:22:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e467e9b7-ee10-473d-b9b7-1c96569b8565</guid><dc:creator>ofdouglas</dc:creator><description>&lt;p&gt;I put the UNINIT section at the highest RAM addresses (0x20077F00, 0x100) and it works now.&lt;/p&gt;
&lt;p&gt;Is UNINIT supposed to work if the &lt;span&gt;UNINIT&amp;nbsp;&lt;/span&gt;section is between sections which get initialized?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>