<?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: DATA_SEG initializing data to zeros. in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146230#M3328</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 is the question here exactly?&lt;/P&gt;&lt;P&gt;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&amp;nbsp;&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>Mon, 12 Oct 2009 20:15:25 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2009-10-12T20:15:25Z</dc:date>
    <item>
      <title>DATA_SEG initializing data to zeros.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146229#M3327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 18:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146229#M3327</guid>
      <dc:creator>MPeppard</dc:creator>
      <dc:date>2009-10-12T18:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: DATA_SEG initializing data to zeros.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146230#M3328</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 is the question here exactly?&lt;/P&gt;&lt;P&gt;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&amp;nbsp;&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>Mon, 12 Oct 2009 20:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146230#M3328</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-10-12T20:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: DATA_SEG initializing data to zeros.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146231#M3329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;"DATA_SEG initializing data to zeros."&lt;BR /&gt;&lt;BR /&gt;If you placed the variables at file scope (global), they will indeed be set to zero in the C/C++ language, as enforced by the standard.&lt;BR /&gt;&lt;BR /&gt;If you don't want this, you will have to remove initialization of static varibles at project creation. The startup file will then not copy any init values into static/global variables. Note that with this setting you must set all values in runtime and you can't import code relying on static initalization into your project.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 16:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146231#M3329</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2009-10-13T16:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: DATA_SEG initializing data to zeros.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146232#M3330</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;If you are looking for a way to define global variables, which are not initialized at startup, please look at FAQ-27438 on &lt;A href="http://www.freescale.com/" rel="nofollow" target="_blank"&gt;www.freescale.com.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the NO_INIT attribute instead on READ_WRITE in the .prm file should help you to achieve that.&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>Tue, 13 Oct 2009 19:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/DATA-SEG-initializing-data-to-zeros/m-p/146232#M3330</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-10-13T19:15:41Z</dc:date>
    </item>
  </channel>
</rss>

