<?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: NO_INIT does not work in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180487#M6103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value stored in the NO_INIT region is not always preserved after a POR. But we do not observed this problem on all the microcontroler. 99% the value is fine, the content of the memory is not modified, but on some unit (that have the exact same hardware) the content is modified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Mar 2010 21:01:45 GMT</pubDate>
    <dc:creator>admin</dc:creator>
    <dc:date>2010-03-03T21:01:45Z</dc:date>
    <item>
      <title>NO_INIT does not work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180485#M6101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I using HCS12 microcontroler. I declared a variable in RAM with NO_INIT qualifiers. But it seems like on some units, the variable is initialized have POR. Does someone have an idea why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//.prm&lt;/P&gt;&lt;P&gt;&amp;nbsp; RAM_NO_INIT =&amp;nbsp; NO_INIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000400F TO 0x0000400F;&lt;/P&gt;&lt;P&gt;_RAM_NO_INIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO RAM_NO_INIT;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//main&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma DATA_SEG _RAM_NO_INIT&lt;BR /&gt;&lt;BR /&gt;static byte FirmwareUsbRequestFlag;&lt;BR /&gt;&lt;BR /&gt;#pragma DATA_SEG DEFAULT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 02:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180485#M6101</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-03-03T02:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: NO_INIT does not work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180486#M6102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean exactly with "on some units, the variable is initialized have POR"?&lt;/P&gt;&lt;P&gt;Are you expecting a specific value there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attribute NO_INIT in the linker files just tells the linker that startup code should not&amp;nbsp;modify content of memory.&lt;/P&gt;&lt;P&gt;So value stored there is undefined (remains set to&amp;nbsp;whatever was stored there previously.)..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 18:52:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180486#M6102</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-03-03T18:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: NO_INIT does not work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180487#M6103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value stored in the NO_INIT region is not always preserved after a POR. But we do not observed this problem on all the microcontroler. 99% the value is fine, the content of the memory is not modified, but on some unit (that have the exact same hardware) the content is modified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 21:01:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180487#M6103</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2010-03-03T21:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: NO_INIT does not work</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180488#M6104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well if this is only happening on some units, that means that startup code is not modifying the values (as expected by&amp;nbsp;the NO_INIT attribute).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I would recommend you to check what the MCU reference manual is saying about that.&lt;/P&gt;&lt;P&gt;Is content of RAM preserved after a POR? Under which conditions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I would recommend you posting the question in the Hardware forums as this seems to be hardware related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Mar 2010 21:56:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/NO-INIT-does-not-work/m-p/180488#M6104</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-03-03T21:56:01Z</dc:date>
    </item>
  </channel>
</rss>

