<?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 memory getting set to default data i.e. FF after Re-download / power reset , data written on EEPROM not getting set.</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data-i-e-FF-after-Re/m-p/602103#M13076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajkumar,&lt;/P&gt;&lt;P&gt;When you load code into MCU by default debug session, the Standard Download is performed.&lt;/P&gt;&lt;P&gt;The Standard Download erases whole Flash and EEPROM and programs it again. However, it seems that Standard Download does not work correctly with internal EEPROM. It does not load EEPROM data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, you may use Flash Programmer and Tasks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please start Flash Programmer (Blue lightning icon)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Run Flash Programmer.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7454iBDFDC7296B87C27B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Run Flash Programmer.png" alt="Run Flash Programmer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please select already created Connection with Flash Configuration file and choose S-Record or ELF file as File to Flash. You may save this configuration as Target Task by adding your own task name and click on “Erase and Program” button:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash File To Target.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7547i49DA344B698609BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash File To Target.png" alt="Flash File To Target.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you save this task, it will ask you whether you want to save this task only to the framework or also on your disk.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Save a task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7594i7DEA9326EE4AB23F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Save a task.png" alt="Save a task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After that, it will start with Flash/EEPROM loading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Tasks may be configured by Target Tasks window (menu-Window-Show View-Target Tasks). You may open your task by double clicking on it and configure the device (Flash/EEPROM) and actions…&lt;BR /&gt;So, you may, for example, remove EEPROM device and “Erase and Program” action on EEPROM range.&lt;/P&gt;&lt;P&gt;This way you may load just Flash data without touching EEPROM.&lt;/P&gt;&lt;P&gt;Note: Optionally you may open created *.ttf file in CW (menu-File-Open File-…) and modify this task according to your needs – like enabling, add or remove actions, modify address ranges, apply address offsets, …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currently executed Tasks may be configured in your debug configuration - go to Debugger tab and Download sub-tab.&lt;/P&gt;&lt;P&gt;There you may check out “Perform Standard Download” and check “Execute Tasks”.&lt;/P&gt;&lt;P&gt;When you click on “Add …” button, you may add your target task.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Add target task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7636i87A1CB6FA28E4903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Add target task.png" alt="Add target task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug Configuration - task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7699iE3682308AA33C67B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug Configuration - task.png" alt="Debug Configuration - task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With that configuration, you may load Flash/EEPROM data standard way – through Debug button and select whether you want to download Flash or EEPROM or both together.&lt;/P&gt;&lt;P&gt;Attached is simple example project.&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, 08 Nov 2016 12:15:13 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2016-11-08T12:15:13Z</dc:date>
    <item>
      <title>EEPROM memory getting set to default data i.e. FF after Re-download / power reset , data written on EEPROM not getting set.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data-i-e-FF-after-Re/m-p/602102#M13075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with MagniV MTRCKTSBNZVM128 BLDC sensorless kit, (MCU part no &lt;STRONG&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="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data-i-e-FF-after-Re/m-p/602102#M13075</guid>
      <dc:creator>rajkumarwadhwan</dc:creator>
      <dc:date>2016-10-26T04:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: EEPROM memory getting set to default data i.e. FF after Re-download / power reset , data written on EEPROM not getting set.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data-i-e-FF-after-Re/m-p/602103#M13076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajkumar,&lt;/P&gt;&lt;P&gt;When you load code into MCU by default debug session, the Standard Download is performed.&lt;/P&gt;&lt;P&gt;The Standard Download erases whole Flash and EEPROM and programs it again. However, it seems that Standard Download does not work correctly with internal EEPROM. It does not load EEPROM data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a workaround, you may use Flash Programmer and Tasks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please start Flash Programmer (Blue lightning icon)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Run Flash Programmer.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7454iBDFDC7296B87C27B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Run Flash Programmer.png" alt="Run Flash Programmer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please select already created Connection with Flash Configuration file and choose S-Record or ELF file as File to Flash. You may save this configuration as Target Task by adding your own task name and click on “Erase and Program” button:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Flash File To Target.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7547i49DA344B698609BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash File To Target.png" alt="Flash File To Target.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you save this task, it will ask you whether you want to save this task only to the framework or also on your disk.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Save a task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7594i7DEA9326EE4AB23F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Save a task.png" alt="Save a task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After that, it will start with Flash/EEPROM loading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Tasks may be configured by Target Tasks window (menu-Window-Show View-Target Tasks). You may open your task by double clicking on it and configure the device (Flash/EEPROM) and actions…&lt;BR /&gt;So, you may, for example, remove EEPROM device and “Erase and Program” action on EEPROM range.&lt;/P&gt;&lt;P&gt;This way you may load just Flash data without touching EEPROM.&lt;/P&gt;&lt;P&gt;Note: Optionally you may open created *.ttf file in CW (menu-File-Open File-…) and modify this task according to your needs – like enabling, add or remove actions, modify address ranges, apply address offsets, …&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The currently executed Tasks may be configured in your debug configuration - go to Debugger tab and Download sub-tab.&lt;/P&gt;&lt;P&gt;There you may check out “Perform Standard Download” and check “Execute Tasks”.&lt;/P&gt;&lt;P&gt;When you click on “Add …” button, you may add your target task.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Add target task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7636i87A1CB6FA28E4903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Add target task.png" alt="Add target task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Debug Configuration - task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7699iE3682308AA33C67B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Debug Configuration - task.png" alt="Debug Configuration - task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With that configuration, you may load Flash/EEPROM data standard way – through Debug button and select whether you want to download Flash or EEPROM or both together.&lt;/P&gt;&lt;P&gt;Attached is simple example project.&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, 08 Nov 2016 12:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/EEPROM-memory-getting-set-to-default-data-i-e-FF-after-Re/m-p/602103#M13076</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-11-08T12:15:13Z</dc:date>
    </item>
  </channel>
</rss>

