<?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>S12 / MagniV MicrocontrollersのトピックRe: non-volatile Variables - HOW??</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146196#M3981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to use emulated EEPROM or come up with an erase/programme scheme for Dflash. Also be aware of what will happen if the power is shut off during a write cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Oct 2009 02:25:57 GMT</pubDate>
    <dc:creator>jsmcortina</dc:creator>
    <dc:date>2009-10-17T02:25:57Z</dc:date>
    <item>
      <title>non-volatile Variables - HOW??</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146194#M3979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there&lt;/P&gt;&lt;P&gt;we have a problem storing variables in the flash of our S12XE100, we do not have any idea how we could achieve it. So Im asking, is there any easy way to save variables non-volatile, like a loader instruction or so? Do we really&amp;nbsp; have to implement the complex way with formating and Emulated EEPROM and stuff? Can you please show us some easy to implement way, perhabs with some code snippets?&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;toebsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 15:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146194#M3979</guid>
      <dc:creator>toebsen</dc:creator>
      <dc:date>2009-10-12T15:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: non-volatile Variables - HOW??</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146195#M3980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Make a memory segment in the .PRM file, then write&lt;BR /&gt;&lt;BR /&gt;#pragma CONST_SEG name_of_segment&lt;BR /&gt;&lt;BR /&gt;const int variable;&lt;BR /&gt;&lt;BR /&gt;#pragma CONST_SEG DEFAULT&lt;BR /&gt;&lt;BR /&gt;Obviously the variables have to be const. I always declare them at file scope too, or the compiler might put them on the stack instead of nvm.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 18:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146195#M3980</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2009-10-12T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: non-volatile Variables - HOW??</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146196#M3981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you need to use emulated EEPROM or come up with an erase/programme scheme for Dflash. Also be aware of what will happen if the power is shut off during a write cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2009 02:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146196#M3981</guid>
      <dc:creator>jsmcortina</dc:creator>
      <dc:date>2009-10-17T02:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: non-volatile Variables - HOW??</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146197#M3982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;That is only necessary if you want to change the values in runtime. Perhaps the original poster can clarify if that is required by the application or not.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 19:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/non-volatile-Variables-HOW/m-p/146197#M3982</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2009-10-28T19:23:06Z</dc:date>
    </item>
  </channel>
</rss>

