<?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: MPC5744P FCCU RCCU Fault Injection in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753756#M10596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hello Peter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thanks for your support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I guess our problem is due to that we configure FCCU using bitwise operations like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;EM style="color: #3d3d3d;"&gt;FCCU.NCF_E[0].B.NCFE11 = 0x1u;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We have now changed so that 32-bit operations are used like for example&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;EM style="color: #3d3d3d; font-size: 11.5pt;"&gt;&lt;SPAN&gt;FCCU.NCF_E[0].R = 0x00003800u;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Now, it seems as FCCU is configured as we would like it to, and a long reset is generated for the FCCU faults that are configured with action set to long reset, including RCCU_1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Peder&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2018 16:18:57 GMT</pubDate>
    <dc:creator>pederrogo</dc:creator>
    <dc:date>2018-01-08T16:18:57Z</dc:date>
    <item>
      <title>MPC5744P FCCU RCCU Fault Injection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753754#M10594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are using the FCCU NCFF register in MPC5744P to test some FCCU fault handling, for example we test the lock step fault handling by using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FCCU.NCFF.R = va_SUP_FCCU_FaultInjection;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and setting&amp;nbsp;&lt;SPAN&gt;va_SUP_FCCU_FaultInjection to the values 11, 12 and 13.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For values 11 and 12 the behavior is as expected, i.e. theres is a long reset performed. But, for value 13 there seems not to be any reaction.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thus, is there any difference between the&amp;nbsp;RCCU_0a/RCCU_0b and&amp;nbsp;RCCU_1 faults that could explain this behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We do the following initializations for these faults:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FCCU.NCF_E[0].B.NCFE11 = 0x1u; //Enable reaction on fault NCF[11] - RCCU_0a: Interface (other than D-MEM or DMA) out of lockstep&lt;BR /&gt; FCCU.NCF_E[0].B.NCFE12 = 0x1u; //Enable reaction on fault NCF[12] - RCCU_0b: D-MEM array interface out of lockstep&lt;BR /&gt; FCCU.NCF_E[0].B.NCFE13 = 0x1u; //Enable reaction on fault NCF[13] - RCCU_1: DMA array interface out of lockstep&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Configure lock step faults reaction to long reset */&lt;BR /&gt; FCCU.NCFS_CFG[0].R |= 0x0A800000u;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Peder Rogö&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753754#M10594</guid>
      <dc:creator>pederrogo</dc:creator>
      <dc:date>2018-01-02T10:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FCCU RCCU Fault Injection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753755#M10595</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 just made test example for NCF[13] with long reset reaction.&lt;/P&gt;&lt;P&gt;I is working as expected.&lt;/P&gt;&lt;P&gt;I can inject fault and then device is reset. After reset I can see that FCCU triggered long reset was triggered.&lt;/P&gt;&lt;P&gt;See pictures below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34588i3B36D2B05D216BF7/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34631i755082E8A09A2021/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have in mind that this fault injection must be executed without debugger. As debug mode disable RCCU checkers.&lt;/P&gt;&lt;P&gt;I have also attached for reference my test example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 14:05:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753755#M10595</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-01-03T14:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FCCU RCCU Fault Injection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753756#M10596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hello Peter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Thanks for your support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I guess our problem is due to that we configure FCCU using bitwise operations like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;EM style="color: #3d3d3d;"&gt;FCCU.NCF_E[0].B.NCFE11 = 0x1u;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;We have now changed so that 32-bit operations are used like for example&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;EM style="color: #3d3d3d; font-size: 11.5pt;"&gt;&lt;SPAN&gt;FCCU.NCF_E[0].R = 0x00003800u;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Now, it seems as FCCU is configured as we would like it to, and a long reset is generated for the FCCU faults that are configured with action set to long reset, including RCCU_1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;SPAN&gt;Peder&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 16:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FCCU-RCCU-Fault-Injection/m-p/753756#M10596</guid>
      <dc:creator>pederrogo</dc:creator>
      <dc:date>2018-01-08T16:18:57Z</dc:date>
    </item>
  </channel>
</rss>

