<?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>CodeWarrior Development ToolsのトピックS12ZVC EEPROM Problem</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029561#M8183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Support Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm programming NXP (Devkit S12ZVC) for the first time and i have eeprom and flash problem. I could write any data to EEPROM or FLASH&amp;nbsp;(I checked on CW memory monitoring) and i could also read. But the data disappears every time (all eeprom bytes are 0xFF) when i reset the MCU or i power off and power on again. So i tried to write to FLASH, but&amp;nbsp;I had the same problem with FLASH too. I used Processor Expert and another library too, but the problem still continues. I think i have a simple problem but i dont know that what i dont do or do wrong. I'm waiting for your helps.&lt;/P&gt;&lt;P&gt;Thanks from now,&lt;/P&gt;&lt;P&gt;Ertuğ Bayram YÜRÜK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2020 13:38:27 GMT</pubDate>
    <dc:creator>ertugby</dc:creator>
    <dc:date>2020-03-27T13:38:27Z</dc:date>
    <item>
      <title>S12ZVC EEPROM Problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029561#M8183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Support Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm programming NXP (Devkit S12ZVC) for the first time and i have eeprom and flash problem. I could write any data to EEPROM or FLASH&amp;nbsp;(I checked on CW memory monitoring) and i could also read. But the data disappears every time (all eeprom bytes are 0xFF) when i reset the MCU or i power off and power on again. So i tried to write to FLASH, but&amp;nbsp;I had the same problem with FLASH too. I used Processor Expert and another library too, but the problem still continues. I think i have a simple problem but i dont know that what i dont do or do wrong. I'm waiting for your helps.&lt;/P&gt;&lt;P&gt;Thanks from now,&lt;/P&gt;&lt;P&gt;Ertuğ Bayram YÜRÜK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2020 13:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029561#M8183</guid>
      <dc:creator>ertugby</dc:creator>
      <dc:date>2020-03-27T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC EEPROM Problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029562#M8184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which flash address do you use?&lt;/P&gt;&lt;P&gt;Could you try a simple flash example without PE to verify that the issue is not in SW? see attachment&lt;/P&gt;&lt;P&gt;Also, can you share the screen&amp;nbsp;from the debug configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104143i543C9F7139A32E3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029562#M8184</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-03-30T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC EEPROM Problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029563#M8185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ms Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly thanks your answer. I tried simple eeprom and flash projects (ZVL32-Eeprom-CW106 and ZVL32-Flash-CW106) that you suggest&amp;nbsp;but the result has not changed. The data &lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;disappears again. By the way I&amp;nbsp;tried the projects with 2&amp;nbsp;different S12ZVC Devkit&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;however I had the same problem.&amp;nbsp;I am reading 0xFF when I ignore codes of erasing and writing.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2020-03-31_13-41-33.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104561i7C396FA5351DE746/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-03-31_13-41-33.png" alt="2020-03-31_13-41-33.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2020-03-31_13-41-51.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104213i13E4DE8A2AB5F1FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-03-31_13-41-51.png" alt="2020-03-31_13-41-51.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2020-03-31_13-48-21.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104622iCAB44161C0410BAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-03-31_13-48-21.png" alt="2020-03-31_13-48-21.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I look forward to your help.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;Best regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;Ertuğ Bayram YÜRÜK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 11:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029563#M8185</guid>
      <dc:creator>ertugby</dc:creator>
      <dc:date>2020-03-31T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC EEPROM Problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029564#M8186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check/ debug the data in flash memory after reset you can use the&amp;nbsp;&lt;STRONG&gt;Attach&lt;/STRONG&gt; option in Debug session type in debug configuration.&lt;/P&gt;&lt;P&gt;Attach option assumes that code is already running on the board and therefore does not run a target initialization file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98714iE70A0C498616A083/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time you run/debug with Download session type the new code is downloaded into MCU, so, the flash is erased and a new project is loaded into MCU. So, you lost the stored data by the previous project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is not clear, please, let me know.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 12:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029564#M8186</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-03-31T12:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVC EEPROM Problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029565#M8187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ms Diana, "&lt;STRONG&gt;Attach"&lt;/STRONG&gt; mode&amp;nbsp;solved my problem when I am working with debugging.&amp;nbsp;But I always have to download the codes, so I tried the "Custom" mode and unchecked the "execute reset sequence" and "execute startup scripts" options.&amp;nbsp;And it fixed :smileyhappy:&amp;nbsp;Thanks again.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ertuğ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 13:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVC-EEPROM-Problem/m-p/1029565#M8187</guid>
      <dc:creator>ertugby</dc:creator>
      <dc:date>2020-03-31T13:34:07Z</dc:date>
    </item>
  </channel>
</rss>

