<?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のトピックRe: S1ZVMC CW11.0 crash when loading EEPROM const</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860389#M7378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillippe,&lt;/P&gt;&lt;P&gt;From my understanding,changing target type from S12ZVMC128 to S12ZVMC256 fixed the problem.&lt;/P&gt;&lt;P&gt;I just checked, if I create a new S12ZVMC256 project, the default target type is S12ZVMC256. so it's not the problem of IDE.&lt;/P&gt;&lt;P&gt;If anywhere I misunderstood, please contact me again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2019 07:24:13 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2019-04-01T07:24:13Z</dc:date>
    <item>
      <title>S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860387#M7376</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;My customer (Sonceboz) cannot debug anymore while initializing S12ZVMC EEPROM.&lt;/P&gt;&lt;P&gt;I have also reproduced it myself:&amp;nbsp; CW11.x crash when trying to flash a .elf file containing const value while debugging.&lt;/P&gt;&lt;P&gt;So debugging is not possible anymore if using "const".&lt;/P&gt;&lt;P&gt;This is not the case when Flashing the .sw file using "Flash file to target"&amp;nbsp; menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use CW11.0 + P&amp;amp;E Multilink FX + S12ZVMC EVB.&lt;/P&gt;&lt;P&gt;Find attached the project to reproduce the behavior&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Const is define as :&lt;/P&gt;&lt;P&gt;#pragma CONST_SEG MY_EEPROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;volatile const long&amp;nbsp; EEP = 0xAA;&lt;BR /&gt;#pragma CONST_SEG DEFAULT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &amp;nbsp;&amp;nbsp;&amp;nbsp; MY_EEPROM &amp;nbsp; INTO&amp;nbsp; EEPROM;&amp;nbsp; in the *.prm file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;nbsp;&amp;nbsp; "MY_EEPROM INTO&amp;nbsp;&amp;nbsp; EEPROM" is removed the crash does not occurs .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss something ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 18:15:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860387#M7376</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2019-03-27T18:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860388#M7377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have dug a bit more with this issue and it appears that it is linked with MCU configuration file&lt;/P&gt;&lt;P&gt;Using my S12ZVM128 init file I get&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Programming and Verifying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Processing Object File Data ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Programmed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;VC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Verifying object file CRC-16 to device ranges ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00FE0000-00FE006F ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00FFFFFD-00FFFFFF ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; Checksum Verification Successful. &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;(Cumulative CRC-16=$624B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;RE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Initializing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Target has been RESET and is active.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with S12ZVMC256 init file I get&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Programming and Verifying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Processing Object File Data ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Programmed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;VC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Verifying object file CRC-16 to device ranges ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black; background: yellow;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00100000-00100003 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00FF0000-00FF006F ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; block 00FFFFFD-00FFFFFF ... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF:&amp;nbsp;&amp;nbsp;&amp;nbsp; Checksum Verification Successful. (Cumulative CRC-16=$23DF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: CMD&amp;gt;RE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Initializing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; color: black;"&gt;INF: Target has been RESET and is active.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case EEPROM (&lt;SPAN style="font-size: 8.0pt; color: black; background: yellow;"&gt;block 00100000-00100003&lt;/SPAN&gt;) is programmed correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this mean that default debug configuration file for S12ZVMC128 is incorrect.&lt;/P&gt;&lt;P&gt;Using S12ZVMC256 is correct (even for S12ZVMC128 and may be ZMVL128, TBC...)&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/78452iAB5C22D2DCDC4A78/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;BR,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 11:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860388#M7377</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2019-03-28T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860389#M7378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillippe,&lt;/P&gt;&lt;P&gt;From my understanding,changing target type from S12ZVMC128 to S12ZVMC256 fixed the problem.&lt;/P&gt;&lt;P&gt;I just checked, if I create a new S12ZVMC256 project, the default target type is S12ZVMC256. so it's not the problem of IDE.&lt;/P&gt;&lt;P&gt;If anywhere I misunderstood, please contact me again.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 07:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860389#M7378</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-01T07:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860390#M7379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The issue is by creating a project for S12ZVMC128 there is no possibility to setup the EEPROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860390#M7379</guid>
      <dc:creator>phil74</dc:creator>
      <dc:date>2019-04-25T09:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860391#M7380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;My customer (Sonceboz) cannot debug anymore while initializing S12ZVMC EEPROM.&lt;/LI&gt;&lt;LI&gt;I have also reproduced it myself:&amp;nbsp; CW11.x crash when trying to flash a .elf file containing const value while debugging.&lt;/LI&gt;&lt;LI&gt;So debugging is not possible anymore if using "const".&lt;/LI&gt;&lt;LI&gt;This is not the case when Flashing the .sw file using "Flash file to target"&amp;nbsp; menu.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was&amp;nbsp;your customer&amp;nbsp;able&amp;nbsp;to flash project with&amp;nbsp;const in EEPROM with right target MCU setting until something happened?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If yes&lt;/STRONG&gt;, then it could be caused by double bit&amp;nbsp;ECC error&amp;nbsp;in EEPROM, which may lead to machine exception and make CW unable to complete the task. Try temporary disabling const in code and change&amp;nbsp;debugger settings to erase everything, not just used locations. Once you connect with full EEPROM+flash wipe, CW should be able to program EEPROM again.&lt;/P&gt;&lt;P&gt;I saw CW unable to flash S12ZVCA. Error was clearly caused by ECC double bit error + machine excetption in area which CW checksums to check if code really needs to be reflashed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 13:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860391#M7380</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2019-04-25T13:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: S1ZVMC CW11.0 crash when loading EEPROM const</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860392#M7381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;I don't have exact board to test your project, so I used S12ZVH128 testing your project. see attached video.&lt;/P&gt;&lt;P&gt;On my side, I couldn't see any issue. Can you please check also?&lt;/P&gt;&lt;P&gt;How can I reproduce your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 03:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S1ZVMC-CW11-0-crash-when-loading-EEPROM-const/m-p/860392#M7381</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-26T03:46:46Z</dc:date>
    </item>
  </channel>
</rss>

