<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to put a structure in a NO_INIT section of RAM? in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1163902#M8464</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, your snippet of using NO_INIT section seems to be valid.&lt;/P&gt;
&lt;P&gt;Just make sure that if there is any other variable placed to this section it is not declared as initialized.&lt;/P&gt;
&lt;P&gt;Do you observe any particular problems with the code?&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 12:24:38 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2020-10-07T12:24:38Z</dc:date>
    <item>
      <title>How to put a structure in a NO_INIT section of RAM?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1162644#M8462</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I want to carve out a section of RAM with a NO_INIT qualifier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is my implementation. Am I on the right track?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In a c file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG restart_detection_ram_data&lt;BR /&gt;static RestartStruct_t restart;&lt;BR /&gt;#pragma DATA_SEG DEFAULT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In prm file:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SEGMENTS&lt;/P&gt;&lt;P&gt;/* RAM 8k */&lt;BR /&gt;STARTUP_RAM = NO_INIT 0x001000 TO 0x00103F; // 64 bytes&lt;/P&gt;&lt;P&gt;RAM = READ_WRITE 0x001040 TO 0x002DFF; // 8k - 64 - 512 bytes&lt;/P&gt;&lt;P&gt;PLACEMENT&lt;/P&gt;&lt;P&gt;SSTACK, /* allocate stack first to avoid overwriting variables on overflow */&lt;BR /&gt;DEFAULT_RAM INTO RAM;&lt;BR /&gt;restart_detection_ram_data INTO STARTUP_RAM;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 23:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1162644#M8462</guid>
      <dc:creator>mihir_rajput</dc:creator>
      <dc:date>2020-10-04T23:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a structure in a NO_INIT section of RAM?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1163902#M8464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, your snippet of using NO_INIT section seems to be valid.&lt;/P&gt;
&lt;P&gt;Just make sure that if there is any other variable placed to this section it is not declared as initialized.&lt;/P&gt;
&lt;P&gt;Do you observe any particular problems with the code?&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:24:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1163902#M8464</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-10-07T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a structure in a NO_INIT section of RAM?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1195128#M8496</link>
      <description>&lt;P&gt;Thanks, I give it a go to figure it out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pngtoico.io" target="_self"&gt;png to ico&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 08:27:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-put-a-structure-in-a-NO-INIT-section-of-RAM/m-p/1195128#M8496</guid>
      <dc:creator>cyndymejia</dc:creator>
      <dc:date>2020-12-14T08:27:19Z</dc:date>
    </item>
  </channel>
</rss>

