<?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: EEPROM Erase on Power down or up</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207286#M8473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it. My app was doing writes into D-Flash on the very first moment after power up.&lt;BR /&gt;Processor Expert's function makes D-Flash write with sector backup in RAM.&lt;BR /&gt;I was "lucky" enough to face conditions when power was down in the middle of this function - exactly after sector erase and before updated content being writen into sector back from RAM.&lt;BR /&gt;So apart from improving supply stability during power on I will have to write D-Flash write mechanism with nonvolatile backup (into some dedicated D-Flash sector instead of RAM).&lt;BR /&gt;I did not have enough time yet to look closer to on-board's external watchdog chip operation but it is possible that due to supply stability problems during power up it was that watchdog resetting uC in the middle of D-Flash write function. I believe uC alone would handle those supply conditions better - the watchdog just puts more restriction on supply conditions.&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Aug 2011 02:47:28 GMT</pubDate>
    <dc:creator>mroczeks</dc:creator>
    <dc:date>2011-08-27T02:47:28Z</dc:date>
    <item>
      <title>EEPROM Erase on Power down or up</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207284#M8471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;We have a legacy product that is using the MC68HC812A4 micro.&amp;nbsp; We recently have several units where the EEPROM appears to have been wiped out.&amp;nbsp; This problem is very hard to reproduce and I don't have very many clues as to why this is happening.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Should I be concerned with power up, power down, and/or resets causing the EEPROM to be wiped out?&amp;nbsp; Anybody know anything about this?&amp;nbsp; We are using a DS1233 reset chip with our micro.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;Eric&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 01:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207284#M8471</guid>
      <dc:creator>ericLGC</dc:creator>
      <dc:date>2008-03-28T01:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Erase on Power down or up</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207285#M8472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you solve your problem? We are having fairly similar case with S12XE devices. Moreover we are able to reproduce the problem fairly easy - we close and open supply circuit very quickly (manualy) like several times per second and usually after few tries we have this problem produced. We had a look at voltage waveforms all over our boards and no problems were found.&lt;/P&gt;&lt;P&gt;I would greatly apreciate your help.&lt;/P&gt;&lt;P&gt;Best regards, Szymon&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 03:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207285#M8472</guid>
      <dc:creator>mroczeks</dc:creator>
      <dc:date>2011-08-23T03:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Erase on Power down or up</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207286#M8473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it. My app was doing writes into D-Flash on the very first moment after power up.&lt;BR /&gt;Processor Expert's function makes D-Flash write with sector backup in RAM.&lt;BR /&gt;I was "lucky" enough to face conditions when power was down in the middle of this function - exactly after sector erase and before updated content being writen into sector back from RAM.&lt;BR /&gt;So apart from improving supply stability during power on I will have to write D-Flash write mechanism with nonvolatile backup (into some dedicated D-Flash sector instead of RAM).&lt;BR /&gt;I did not have enough time yet to look closer to on-board's external watchdog chip operation but it is possible that due to supply stability problems during power up it was that watchdog resetting uC in the middle of D-Flash write function. I believe uC alone would handle those supply conditions better - the watchdog just puts more restriction on supply conditions.&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2011 02:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207286#M8473</guid>
      <dc:creator>mroczeks</dc:creator>
      <dc:date>2011-08-27T02:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Erase on Power down or up</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207287#M8474</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;When flash is being erased and re-programmed with data held in RAM, the Vdd supply should be able to hold for a sufficient period to complete the process, should power be removed during the process.&amp;nbsp; This may involve increasing the bulk capacitance at the output of the voltage regulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, it may be useful to provide an "early warning" of the removal of power, to avoid commencing the erase process for such an event.&amp;nbsp; If using a linear voltage&amp;nbsp;regulator, this might be done by sensing the voltage at the input of the regulator, on the&amp;nbsp;anode side of the reverse polarity diode, to avoid&amp;nbsp;the delay for the discharge of the regulator&amp;nbsp;input capacitance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe there is also the possibility of writing the data to two different flash sectors on power up, with one of them having been pre-erased&amp;nbsp;during the previous power down.&amp;nbsp; The write process alone should be much faster than an erase, followed by a write.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 11:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207287#M8474</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-08-30T11:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM Erase on Power down or up</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207288#M8475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting Mac, we figured it all out already and it's all true what you're saying &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 12:59:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-Erase-on-Power-down-or-up/m-p/207288#M8475</guid>
      <dc:creator>mroczeks</dc:creator>
      <dc:date>2011-08-30T12:59:38Z</dc:date>
    </item>
  </channel>
</rss>

