<?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: Detect double bit errors in RAM (S12Z ECC)</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Detect-double-bit-errors-in-RAM-S12Z-ECC/m-p/601021#M13065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The double bit ECC fault is uncorrectable error and it will trigger a machine exception (interrupt vector 5). A machine exception is considered &lt;SPAN style="font-size: 11.0pt;"&gt;to be &lt;/SPAN&gt;a severe system error, so nothing is written on the stack and it is not possible to return to application code by using an RTI instruction. The MMCEC registers save information about the S12Z CPU, which can be then used to identify the source of the machine exception. Then, a correct recovery action should be the MCU reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information about exception is in the&amp;nbsp;&lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/S12ZCPU_RM_V1.pdf"&gt;S12ZCPU_RM&lt;/A&gt;, chapter 7, or refer to this&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-330312"&gt;example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single/double RAM ECC errors can be forced, as shows this&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-333148"&gt;example&lt;/A&gt;. See also chapter 7.3.7 of the RM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 14:17:47 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-04-11T14:17:47Z</dc:date>
    <item>
      <title>Detect double bit errors in RAM (S12Z ECC)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Detect-double-bit-errors-in-RAM-S12Z-ECC/m-p/601020#M13064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the S12Z in my product and have to detect faults using ECC. For detecting flash double bit errors I use FERSTAT_DFDF bit. And I test it with FCNFG_FDFD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to detect double bit errors in RAM? And how to test the detection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the MMCECL? Can I use it?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MMCECL.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2177iBA86BE7D71CD298A/image-size/large?v=v2&amp;amp;px=999" role="button" title="MMCECL.jpg" alt="MMCECL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Detect-double-bit-errors-in-RAM-S12Z-ECC/m-p/601020#M13064</guid>
      <dc:creator>niba</dc:creator>
      <dc:date>2017-04-11T12:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Detect double bit errors in RAM (S12Z ECC)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Detect-double-bit-errors-in-RAM-S12Z-ECC/m-p/601021#M13065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The double bit ECC fault is uncorrectable error and it will trigger a machine exception (interrupt vector 5). A machine exception is considered &lt;SPAN style="font-size: 11.0pt;"&gt;to be &lt;/SPAN&gt;a severe system error, so nothing is written on the stack and it is not possible to return to application code by using an RTI instruction. The MMCEC registers save information about the S12Z CPU, which can be then used to identify the source of the machine exception. Then, a correct recovery action should be the MCU reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information about exception is in the&amp;nbsp;&lt;A href="http://www.nxp.com/assets/documents/data/en/reference-manuals/S12ZCPU_RM_V1.pdf"&gt;S12ZCPU_RM&lt;/A&gt;, chapter 7, or refer to this&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-330312"&gt;example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single/double RAM ECC errors can be forced, as shows this&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-333148"&gt;example&lt;/A&gt;. See also chapter 7.3.7 of the RM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Detect-double-bit-errors-in-RAM-S12Z-ECC/m-p/601021#M13065</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-04-11T14:17:47Z</dc:date>
    </item>
  </channel>
</rss>

