<?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 S12ZVCA EEPROM write problem in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1362060#M18237</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am a developer developing with S12ZVCA192 MCU.&lt;/P&gt;&lt;P&gt;I want to save the flag value to EEPROM.&lt;/P&gt;&lt;P&gt;But there is a problem.&lt;/P&gt;&lt;P&gt;I can't check the EEPROM Memory value with Debug.&lt;/P&gt;&lt;P&gt;I want to check the data I have stored in EEPROM.&lt;/P&gt;&lt;P&gt;1. I simply stored the data as IEE1_SetByte. (0x09)&lt;BR /&gt;2. After IEE1_SetByte, it was confirmed that the data was saved with IEE1_GetByte.&lt;BR /&gt;3. Edit the code to clear the IEE1_SetByte part.&lt;BR /&gt;4. Debug and read data with IEE1_GetByte. (I think 0x09 should be stored in EEPROM.)&lt;BR /&gt;5. The data has changed. (0x09 -&amp;gt; 0xFF)&lt;BR /&gt;6. The problem is unknown.&lt;BR /&gt;7. Is the data not saved?&lt;BR /&gt;8. Is the data initialized during Debug?&lt;/P&gt;&lt;P&gt;I can't confirm what the problem is.&lt;/P&gt;&lt;P&gt;I'll add the source code and pictures.&lt;/P&gt;&lt;P&gt;Please check and point out if there is a problem with the values ​​I have set.&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Execute IEE1_SetByte and then execute IEE1_GetByte&lt;BR /&gt;Confirm that the data(0x09)is saved&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_96.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160310i116ECE6F34EAFBF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_96.png" alt="Screenshot_96.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Clear IEE1_SetByte and execute IEE1_GetByte&lt;BR /&gt;check that the data(0xFF) has changed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_97.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160311iF61B8EEAE77A6265/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_97.png" alt="Screenshot_97.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 04:39:54 GMT</pubDate>
    <dc:creator>s_kim1</dc:creator>
    <dc:date>2021-10-27T04:39:54Z</dc:date>
    <item>
      <title>S12ZVCA EEPROM write problem</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1362060#M18237</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am a developer developing with S12ZVCA192 MCU.&lt;/P&gt;&lt;P&gt;I want to save the flag value to EEPROM.&lt;/P&gt;&lt;P&gt;But there is a problem.&lt;/P&gt;&lt;P&gt;I can't check the EEPROM Memory value with Debug.&lt;/P&gt;&lt;P&gt;I want to check the data I have stored in EEPROM.&lt;/P&gt;&lt;P&gt;1. I simply stored the data as IEE1_SetByte. (0x09)&lt;BR /&gt;2. After IEE1_SetByte, it was confirmed that the data was saved with IEE1_GetByte.&lt;BR /&gt;3. Edit the code to clear the IEE1_SetByte part.&lt;BR /&gt;4. Debug and read data with IEE1_GetByte. (I think 0x09 should be stored in EEPROM.)&lt;BR /&gt;5. The data has changed. (0x09 -&amp;gt; 0xFF)&lt;BR /&gt;6. The problem is unknown.&lt;BR /&gt;7. Is the data not saved?&lt;BR /&gt;8. Is the data initialized during Debug?&lt;/P&gt;&lt;P&gt;I can't confirm what the problem is.&lt;/P&gt;&lt;P&gt;I'll add the source code and pictures.&lt;/P&gt;&lt;P&gt;Please check and point out if there is a problem with the values ​​I have set.&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Execute IEE1_SetByte and then execute IEE1_GetByte&lt;BR /&gt;Confirm that the data(0x09)is saved&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_96.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160310i116ECE6F34EAFBF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_96.png" alt="Screenshot_96.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Clear IEE1_SetByte and execute IEE1_GetByte&lt;BR /&gt;check that the data(0xFF) has changed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_97.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160311iF61B8EEAE77A6265/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_97.png" alt="Screenshot_97.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 04:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1362060#M18237</guid>
      <dc:creator>s_kim1</dc:creator>
      <dc:date>2021-10-27T04:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVCA EEPROM write problem</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1362976#M18244</link>
      <description>&lt;P&gt;That's known old Codewarrior bug. On S12ZVC it always shows first (hm, perhaps first 64) EEPROM locations as erased to 0xFF. I'm not sure which forums contains my question about the same, it was asked couple years ago. You may use expressions or some other means to read right values. Try adding *(char*)0x10020 to expressions.&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 05:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1362976#M18244</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-10-28T05:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVCA EEPROM write problem</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1363387#M18245</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/141917"&gt;@s_kim1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you use the Memory Browser as it was discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugger-EEPROM-Read-S12ZVML128/m-p/1007936" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debugger-EEPROM-Read-S12ZVML128/m-p/1007936&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 15:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVCA-EEPROM-write-problem/m-p/1363387#M18245</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-28T15:20:56Z</dc:date>
    </item>
  </channel>
</rss>

