<?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のトピックMC9S12 Code memory was erased</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12-Code-memory-was-erased/m-p/128030#M812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Now I am using MC9S12DJ128 in our equiptment.&lt;/DIV&gt;&lt;DIV&gt;But I have one problem.&lt;/DIV&gt;&lt;DIV&gt;The codes I have&amp;nbsp;writed in MC9S12DJ128 flash memory&amp;nbsp;is erased sometimes.&lt;/DIV&gt;&lt;DIV&gt;When the code is&amp;nbsp;erased, I write the codes again and it works well.&lt;/DIV&gt;&lt;DIV&gt;I don't know why.&lt;/DIV&gt;&lt;DIV&gt;This do not happen so often.&lt;/DIV&gt;&lt;DIV&gt;But, you know, it can be a big trouble.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help me to solve this problem!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2006 15:55:27 GMT</pubDate>
    <dc:creator>hs3401</dc:creator>
    <dc:date>2006-08-24T15:55:27Z</dc:date>
    <item>
      <title>MC9S12 Code memory was erased</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12-Code-memory-was-erased/m-p/128030#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Now I am using MC9S12DJ128 in our equiptment.&lt;/DIV&gt;&lt;DIV&gt;But I have one problem.&lt;/DIV&gt;&lt;DIV&gt;The codes I have&amp;nbsp;writed in MC9S12DJ128 flash memory&amp;nbsp;is erased sometimes.&lt;/DIV&gt;&lt;DIV&gt;When the code is&amp;nbsp;erased, I write the codes again and it works well.&lt;/DIV&gt;&lt;DIV&gt;I don't know why.&lt;/DIV&gt;&lt;DIV&gt;This do not happen so often.&lt;/DIV&gt;&lt;DIV&gt;But, you know, it can be a big trouble.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help me to solve this problem!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 15:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12-Code-memory-was-erased/m-p/128030#M812</guid>
      <dc:creator>hs3401</dc:creator>
      <dc:date>2006-08-24T15:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12 Code memory was erased</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12-Code-memory-was-erased/m-p/128031#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If you do have Flash programming routines inside your MCU,&amp;nbsp;your ERASE function is maybe called.&lt;BR /&gt;There is a way to prevent this by securing your Flash, but it doesn't solve the root of the issue and could produce other un-desired behaviour.&lt;/P&gt;&lt;P&gt;Is it the whole Flash being erased or an area in particular ?&lt;BR /&gt;May be your code runs away and starts the erase routine. Try and put a special instruction to stop the MCU at start of routine if you can reproduce the issue.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Alban.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 16:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12-Code-memory-was-erased/m-p/128031#M813</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-08-24T16:30:24Z</dc:date>
    </item>
  </channel>
</rss>

