<?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: EEPROM memory getting set to default data in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601906#M13073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Clemens,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes preserving the memory works, Thanks a lot for your solution. I can see the last written data even if I re download the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But now issue is with Power reset. After power reset EEPROM&amp;nbsp;sets to 00. Find below snaps for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6274i2532241FF96CFBCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6317iB0420AFD438032B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please&amp;nbsp;let us know the possible causes and solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 02:10:00 GMT</pubDate>
    <dc:creator>rajkumarwadhwan</dc:creator>
    <dc:date>2016-10-27T02:10:00Z</dc:date>
    <item>
      <title>EEPROM memory getting set to default data</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601904#M13071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am working with MagniV MTRCKTSBNZVM128 BLDC sensorless kit, (MCU part no &lt;STRONG style="border: 0px; font-weight: bold;"&gt;S912ZVML12 MKH&lt;/STRONG&gt;). My requirement is to program EEPROM memory. I am able to program the EEPROM sector but after Power reset or when code is flashed again, EEPROM is set to default data i.e. FF.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;From Pic 1 you can see that 06, 07, 08 and 09 is written but when I downloaded the code next time EEPROM get sets to FF (see Pic 2).&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="166640_166640.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122417iC0B7038B1F2DE1EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="166640_166640.jpg" alt="166640_166640.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Pic_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7081iA43641B2407DFC33/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic_1.jpg" alt="Pic_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="166641_166641.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122418i504CA0EC979ED182/image-size/large?v=v2&amp;amp;px=999" role="button" title="166641_166641.jpg" alt="166641_166641.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Pic_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7126i45B4530CA6D8826E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic_2.jpg" alt="Pic_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;I want to see the updated data on EEPROM even after re-downloading or power reset.&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Please let me know possible reasons and solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 04:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601904#M13071</guid>
      <dc:creator>rajkumarwadhwan</dc:creator>
      <dc:date>2016-10-26T04:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM memory getting set to default data</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601905#M13072</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;&lt;/P&gt;&lt;P&gt;have you tried to specifie a "preserve memory area" in your RUN/DEBUG configuration?&lt;/P&gt;&lt;P&gt;Go to: Run -&amp;gt; Run Configurations -&amp;gt; Target settings: Edit -&amp;gt; Connection: Advanced Programming Options&lt;/P&gt;&lt;P&gt;(See attachet pictures for a hint)&lt;/P&gt;&lt;P&gt;There specify the address range of your eeprom. I did this in example for an s12zmvc128. For your target CPU it might differ, so check the manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why your eeprom gets reset after a Reset i have no idea, may be some init routine or some fault correction if you use an automated CRC in your project. Maybe try the preserve memory are and see what happens next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Run_config.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9226i0AAB272EDD8E3BD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Run_config.jpg" alt="Run_config.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="target_settings.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9271iD1CB2BE8F072F841/image-size/large?v=v2&amp;amp;px=999" role="button" title="target_settings.jpg" alt="target_settings.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="advanced_options.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9314iA085DF91DCA651CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="advanced_options.jpg" alt="advanced_options.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601905#M13072</guid>
      <dc:creator>tiberiusvanca</dc:creator>
      <dc:date>2016-10-26T09:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM memory getting set to default data</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601906#M13073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Clemens,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yes preserving the memory works, Thanks a lot for your solution. I can see the last written data even if I re download the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But now issue is with Power reset. After power reset EEPROM&amp;nbsp;sets to 00. Find below snaps for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6274i2532241FF96CFBCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6317iB0420AFD438032B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please&amp;nbsp;let us know the possible causes and solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 02:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601906#M13073</guid>
      <dc:creator>rajkumarwadhwan</dc:creator>
      <dc:date>2016-10-27T02:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM memory getting set to default data</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601907#M13074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Clemens,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you very much, issue is resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Able to write and save the previous data on eeprom :smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Rajkumar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 02:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data/m-p/601907#M13074</guid>
      <dc:creator>rajkumarwadhwan</dc:creator>
      <dc:date>2016-10-27T02:32:19Z</dc:date>
    </item>
  </channel>
</rss>

