<?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 protection issue- MC9S12XD512</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172062#M5818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some additional data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At start up&amp;nbsp;the EPROT register is 0x00.&amp;nbsp; Also, the EEPROM protection byte is 0x00.&amp;nbsp; ESTAT is 0xC0.&amp;nbsp; I can rewrite EPROT to 0xFF.&amp;nbsp; Then when I try to write to the EEPROM protection byte, ESTAT becomes 0xD0, and the EEPROM protection byte does not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps the EEPROM is permanently protected?&amp;nbsp; The datasheet is unclear, unless I am missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2009 03:19:15 GMT</pubDate>
    <dc:creator>maatweeb</dc:creator>
    <dc:date>2009-04-17T03:19:15Z</dc:date>
    <item>
      <title>EEPROM protection issue- MC9S12XD512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172061#M5817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;Bear with me, as I am just an EE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;We are using a MC9S12XD512.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;During&amp;nbsp;a SW VNV effort, our contractor somehow protected the EEPROM so we can no longer erase/write.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;From the datasheet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To change the EEPROM protection that will be loaded during the reset sequence, the&lt;/SPAN&gt; &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;EEPROM memory&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;must be unprotected, then the EEPROM Protection byte must be reprogrammed&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;It also says:&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;The EPOPEN and EPDIS bits can only be written to the protected state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif;"&gt;Currently we have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2; font-family: arial,helvetica,sans-serif;"&gt;EEPROM Protection Byte at address 0x13FFFD = 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2; font-family: arial,helvetica,sans-serif;"&gt;EPROT at address 0x114 = 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;Both should be 0xFF.&amp;nbsp; How do I change this?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 2;"&gt;Added p/n to subject.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NLFSJ on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-04-16&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;09:18 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 04:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172061#M5817</guid>
      <dc:creator>maatweeb</dc:creator>
      <dc:date>2009-04-15T04:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM protection issue- MC9S12XD512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172062#M5818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some additional data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At start up&amp;nbsp;the EPROT register is 0x00.&amp;nbsp; Also, the EEPROM protection byte is 0x00.&amp;nbsp; ESTAT is 0xC0.&amp;nbsp; I can rewrite EPROT to 0xFF.&amp;nbsp; Then when I try to write to the EEPROM protection byte, ESTAT becomes 0xD0, and the EEPROM protection byte does not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps the EEPROM is permanently protected?&amp;nbsp; The datasheet is unclear, unless I am missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 03:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172062#M5818</guid>
      <dc:creator>maatweeb</dc:creator>
      <dc:date>2009-04-17T03:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM protection issue- MC9S12XD512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172063#M5819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If EEPROM/FLASH protection byte is programmed to protected state, then&amp;nbsp;you can't unrpotect EEPROM/FLASH in normal mode. You should reset to special mode using BDM pod. Also chip has to be not secured. If it is secured then you can't unprotect without full chip erase.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 11:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172063#M5819</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2009-04-17T11:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM protection issue- MC9S12XD512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172064#M5820</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;I have tried the complete memory erase sequence, but have been unsuccessful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I write the mass erase command (0x41) into the ECMD register, the ACCERR bit in the ESTAT register goes to "1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have verified that I am resetting in to special single chip mode, and that the chip is unsecured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other guidance would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 01:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172064#M5820</guid>
      <dc:creator>maatweeb</dc:creator>
      <dc:date>2009-04-21T01:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM protection issue- MC9S12XD512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172065#M5821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our problem was solved by switching debuggers.&amp;nbsp; Using the Codewarrior debugger instead of Zap made the difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 19:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-protection-issue-MC9S12XD512/m-p/172065#M5821</guid>
      <dc:creator>maatweeb</dc:creator>
      <dc:date>2009-04-22T19:30:34Z</dc:date>
    </item>
  </channel>
</rss>

