<?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: How to clear EEE Nonvolatile Information register fields - MC9S12XET256 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598785#M13019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Subash,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, the EEE at S12XE is typically partitioned just once per lifetime.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, the only way how to clear partitioning is complete mass erase of whole MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The simplest way how to do it is execution unsecure procedure. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Code Warrior debugger menu -&amp;gt;MultilinkCyclonePro-&amp;gt;Unsecure…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not work you can use unsecure12 from P&amp;amp;E (only for PEmicro BDM interfaces):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.pemicro.com/downloads/download_file.cfm?download_id=16"&gt;http://www.pemicro.com/downloads/download_file.cfm?download_id=16&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That will complete erasing the whole MCU include partitioning information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The execution "Erase All Blocks Command - 0x08" directly by MCU code goes to Illegal break point because you erase code which you execute. The execution "Erase All Blocks Command - 0x08" directly by MCU code doesn’t have so much sense except “self-destruction” application. ;-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not possible due to safety reason. The only way is through complete mass erase in a special mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The commands "Set User Margin Level Command - 0x0D, Set Field Margin Level Command - 0x0E" are designed for flash reliability testing – test whether memory cells are enough charged/discharged.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;They cannot help in such manner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For more details about Margin Level commands, please check AN3419 System Integrity Techniques for the S12XE:&lt;BR /&gt; &lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3419.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3419.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not possible due to safety reason. The only way is through complete mass erase in a special mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More details about EEE at S12XE may be found in attached short description and example codes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 16:18:49 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2017-02-28T16:18:49Z</dc:date>
    <item>
      <title>How to clear EEE Nonvolatile Information register fields - MC9S12XET256</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598784#M13018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have partitioned the Dflash for emulation. DFPART:116, ERPART:1&lt;/P&gt;&lt;P&gt;Once partitioned, the information is not deleted.&lt;/P&gt;&lt;P&gt;I'm aware that it is stored in Global address, 0x12_0000 (as per table 25.7 in the controller datasheet - EEE Nonvolatile Information register fields). So on reset, these values are restored.&lt;/P&gt;&lt;P&gt;If I try to erase these values using command "Erase All Blocks Command - 0x08" or "Unsecure Flash Command - 0x0B", the&amp;nbsp;ECU goes to Illegal break point. ie., it looks the code is erased.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1) How to clear the values in &lt;SPAN&gt;EEE Nonvolatile Information register fields without affecting the code&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;Q2) What is use of commands "Set User Margin Level Command - 0x0D, Set Field Margin Level Command - 0x0E"? Can this commands help in blocking the erase of the program code (If it is deleted).&lt;/P&gt;&lt;P&gt;Q3) Can I erase the EEE IFR&amp;nbsp;only on start up or&amp;nbsp;during run time (in some scenario)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 09:52:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598784#M13018</guid>
      <dc:creator>subashr</dc:creator>
      <dc:date>2017-02-24T09:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear EEE Nonvolatile Information register fields - MC9S12XET256</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598785#M13019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Subash,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, the EEE at S12XE is typically partitioned just once per lifetime.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, the only way how to clear partitioning is complete mass erase of whole MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The simplest way how to do it is execution unsecure procedure. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Code Warrior debugger menu -&amp;gt;MultilinkCyclonePro-&amp;gt;Unsecure…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If not work you can use unsecure12 from P&amp;amp;E (only for PEmicro BDM interfaces):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.pemicro.com/downloads/download_file.cfm?download_id=16"&gt;http://www.pemicro.com/downloads/download_file.cfm?download_id=16&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That will complete erasing the whole MCU include partitioning information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The execution "Erase All Blocks Command - 0x08" directly by MCU code goes to Illegal break point because you erase code which you execute. The execution "Erase All Blocks Command - 0x08" directly by MCU code doesn’t have so much sense except “self-destruction” application. ;-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not possible due to safety reason. The only way is through complete mass erase in a special mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The commands "Set User Margin Level Command - 0x0D, Set Field Margin Level Command - 0x0E" are designed for flash reliability testing – test whether memory cells are enough charged/discharged.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;They cannot help in such manner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For more details about Margin Level commands, please check AN3419 System Integrity Techniques for the S12XE:&lt;BR /&gt; &lt;A href="http://www.nxp.com/files/microcontrollers/doc/app_note/AN3419.pdf"&gt;http://www.nxp.com/files/microcontrollers/doc/app_note/AN3419.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Not possible due to safety reason. The only way is through complete mass erase in a special mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More details about EEE at S12XE may be found in attached short description and example codes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598785#M13019</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-02-28T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear EEE Nonvolatile Information register fields - MC9S12XET256</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598786#M13020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hi Radek,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thanks for your reply.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 06:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-clear-EEE-Nonvolatile-Information-register-fields/m-p/598786#M13020</guid>
      <dc:creator>subashr</dc:creator>
      <dc:date>2017-03-01T06:59:09Z</dc:date>
    </item>
  </channel>
</rss>

