<?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: S12GN16 Flash data lost issue in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12GN16-Flash-data-lost-issue/m-p/607539#M13136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I feel something wrong in the SW. It can somewhere lose program flow, usually incorrect COP processing, incorrectly processed interrupt,...which can cause program flow failure and the code executes out of incorrect addresses. Such a ode can do anything. Could I see the code? have you seen such a behavior excluding individual parts of the code? (You will start with one functionality and then add others step by step). If you it is necessary I can also have a look at the code. If it is confidential then you can create a "case" following this way &lt;A href="https://community.nxp.com/docs/DOC-329745"&gt;https://community.nxp.com/docs/DOC-329745&lt;/A&gt; . Just start the question with "Hello Ladislav" in order to direct it to me. Or you can zip entire project with password and send me a password in private message.&lt;/P&gt;&lt;P&gt;I see no HW issue from my experience. (I hope this case will not change my confidence :smileyhappy:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 10:59:20 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2017-01-13T10:59:20Z</dc:date>
    <item>
      <title>S12GN16 Flash data lost issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12GN16-Flash-data-lost-issue/m-p/607538#M13135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;Hi:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;One of my customers is using S12GN16 now. They&amp;nbsp;reported that a lot of chips (50+) failed to work recently. However, they said they have programmed and tested the products successfully on production line (with CyclonePro). Most of them&amp;nbsp;were found by their customer and the others&amp;nbsp;were found by themselves when they tested the products again.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;We read out the data of all the failure chips and found that most of the Flash data&amp;nbsp;was erased (the data unerased was not changed). The erased region is a single large area from the 1st address onwards or from the last address backwards or the whole Flash area. The boundary of erased region is not aligned with sector or block&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;The following is the summary of the symptom and the test we have done. Unfortunately, we still can't find the reason of erasing and provide the solution to avoid this issue. Please help to provide some comments. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;The Flash seems to be erased at sometime after the chip passes the programming and testing on customer's production line.&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;The symptom will disappear if we reprogram the Flash&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;The erased region is a single large area from the 1st address onwards or from the last address backwards or the whole Flash area. The boundary of erased region is not alligned with sector or block&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;The MCU is unsecured in customer's normal product. It is very strange that for most of the failure chips, the security byte in Flash is still "unsecured"(0xFE), while other data around it is&amp;nbsp;erased to 0xFF (it is the case when the 2nd half part of Flash or the whole Flash is erased). I have no idea which flash command or external signal can lead to this symptom&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;Have reviewed customer's code and didn't find any flash driver or flash register access. The customer's code is very simple, only PWM,COP and LIN stack are used.&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Have tried to add Flash protection bits (0x3F) and fill all the exception entry with a loop function to avoid CPU running away. But the issue still exists after the software is modified&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 14:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12GN16-Flash-data-lost-issue/m-p/607538#M13135</guid>
      <dc:creator>momo</dc:creator>
      <dc:date>2017-01-11T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: S12GN16 Flash data lost issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12GN16-Flash-data-lost-issue/m-p/607539#M13136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I feel something wrong in the SW. It can somewhere lose program flow, usually incorrect COP processing, incorrectly processed interrupt,...which can cause program flow failure and the code executes out of incorrect addresses. Such a ode can do anything. Could I see the code? have you seen such a behavior excluding individual parts of the code? (You will start with one functionality and then add others step by step). If you it is necessary I can also have a look at the code. If it is confidential then you can create a "case" following this way &lt;A href="https://community.nxp.com/docs/DOC-329745"&gt;https://community.nxp.com/docs/DOC-329745&lt;/A&gt; . Just start the question with "Hello Ladislav" in order to direct it to me. Or you can zip entire project with password and send me a password in private message.&lt;/P&gt;&lt;P&gt;I see no HW issue from my experience. (I hope this case will not change my confidence :smileyhappy:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 10:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12GN16-Flash-data-lost-issue/m-p/607539#M13136</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-01-13T10:59:20Z</dc:date>
    </item>
  </channel>
</rss>

