<?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 FCCU issue in MPC5744p in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711679#M9307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC5744p micro, we are trying trying to configure FCCU for all Non Critical faults with LONG RESET.&lt;/P&gt;&lt;P&gt;We do follow following steps for FCCU configuration.&lt;/P&gt;&lt;P&gt;1. Disable Software Watchdog (Always Disables in our application.)&lt;/P&gt;&lt;P&gt;2.Clear all faults by clearing NFSx registers.&lt;/P&gt;&lt;P&gt;3. Read for any active faults .&lt;/P&gt;&lt;P&gt;4. Clear again if faults are active.&lt;/P&gt;&lt;P&gt;5. Set FCCU to Bi stable state.&lt;/P&gt;&lt;P&gt;6.RUN the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we connect the debugger and RUN this configuration , there is no problem . But when I disconnect the debugger and RUN without debugger , code is stuck in FCCU Config State.Then I observed that SWT_0 was set in NFSx registers but I had disabled watchdog in my start up code itself. And even after Clear the NFSx registers , the fault is not cleared as a result code is stuck in FCCU config state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know&amp;nbsp;why SWT_0 is setting even after disabling the software watchdog&amp;nbsp;?&lt;/P&gt;&lt;P&gt;Why I am not able to Clear SWT_0 fault with NFSx registers ?&lt;/P&gt;&lt;P&gt;When Debugger "Target Reset is issued" then FCCU shows no fault , but why FCCU shows a fault when I perform a hard reset . This totally doesn't make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your Help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 15:48:08 GMT</pubDate>
    <dc:creator>praveenkumar123</dc:creator>
    <dc:date>2017-09-22T15:48:08Z</dc:date>
    <item>
      <title>FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711679#M9307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC5744p micro, we are trying trying to configure FCCU for all Non Critical faults with LONG RESET.&lt;/P&gt;&lt;P&gt;We do follow following steps for FCCU configuration.&lt;/P&gt;&lt;P&gt;1. Disable Software Watchdog (Always Disables in our application.)&lt;/P&gt;&lt;P&gt;2.Clear all faults by clearing NFSx registers.&lt;/P&gt;&lt;P&gt;3. Read for any active faults .&lt;/P&gt;&lt;P&gt;4. Clear again if faults are active.&lt;/P&gt;&lt;P&gt;5. Set FCCU to Bi stable state.&lt;/P&gt;&lt;P&gt;6.RUN the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we connect the debugger and RUN this configuration , there is no problem . But when I disconnect the debugger and RUN without debugger , code is stuck in FCCU Config State.Then I observed that SWT_0 was set in NFSx registers but I had disabled watchdog in my start up code itself. And even after Clear the NFSx registers , the fault is not cleared as a result code is stuck in FCCU config state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know&amp;nbsp;why SWT_0 is setting even after disabling the software watchdog&amp;nbsp;?&lt;/P&gt;&lt;P&gt;Why I am not able to Clear SWT_0 fault with NFSx registers ?&lt;/P&gt;&lt;P&gt;When Debugger "Target Reset is issued" then FCCU shows no fault , but why FCCU shows a fault when I perform a hard reset . This totally doesn't make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your Help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 15:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711679#M9307</guid>
      <dc:creator>praveenkumar123</dc:creator>
      <dc:date>2017-09-22T15:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711680#M9308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it is because SWT timeout happened before FCCU has been configured. Or you are disabling SWT after its timeout happened. Then the only way how to clear the FCCU SWT fault, is to reset the device.&lt;/P&gt;&lt;P&gt;In your software what would be needed to do is to disable SWT at the very beginning of the SW startup.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 16:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711680#M9308</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-09-24T16:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711681#M9309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Debugger dissable SWT by default.&lt;/P&gt;&lt;P&gt;When you run your SW without debugged and do not handle SWT in SW it will expire.&lt;/P&gt;&lt;P&gt;When SWT expire TIF flag in SWT is set.&lt;/P&gt;&lt;P&gt;This flag will set fault line connected to FCCU NCF[14] active. There no possibility to clear this flag on MPC5744P device.&lt;/P&gt;&lt;P&gt;Even if you clear NCF[14] in FCCU, active SWT TIF line will set this fault immediately again.&lt;/P&gt;&lt;P&gt;Therefore you are not able to enter FCCU config state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In previous MPC56xx devices SWT TIF was redundantly connected to FCCU and RGM. RGM (reset module) triggered reset always on TIF line active. This reset also cleared TIF and there was no need to have possibility to clear it via SW.&lt;/P&gt;&lt;P&gt;However on MPC57xx SWT is not connected to RGM and therefore you must configure reset reaction on NCF[14] in FCCU on MPC57xx devices.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711681#M9309</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-09-25T08:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711682#M9310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter/David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have disabled watchdog in startup code itself.&lt;/P&gt;&lt;P&gt;Following is the code snippet to disable watchdog.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # # Turn off SWT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # #SWT0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_lis&amp;nbsp;&amp;nbsp; r4, 0xFC05&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_or2i&amp;nbsp; r4, 0x0000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_li&amp;nbsp;&amp;nbsp;&amp;nbsp; r3, 0xC520&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_stw&amp;nbsp;&amp;nbsp; r3, 0x10(r4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_li&amp;nbsp;&amp;nbsp;&amp;nbsp; r3, 0xD928&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_stw&amp;nbsp;&amp;nbsp; r3, 0x10(r4)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_lis&amp;nbsp;&amp;nbsp; r3, 0xFF00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_or2i&amp;nbsp; r3, 0x010A&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_stw&amp;nbsp;&amp;nbsp; r3, 0(r4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if I issue a reset when SWT_0 is set in NCF_Sx, reset is occurring continuously .&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;given functional reset to clear the NCF[14].&lt;/P&gt;&lt;P&gt;kindly review the above&amp;nbsp;code snippet . And when I check for SWT TIF&amp;nbsp;after connecting a debugger , that bit was not set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 20:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711682#M9310</guid>
      <dc:creator>praveenkumar123</dc:creator>
      <dc:date>2017-09-25T20:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711683#M9311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please read carefully what we have shared with you.&lt;/P&gt;&lt;P&gt;If your reset is occurring continuously this mean you do not disable SWT or you have other fault which cause the reset. This depends in FCCU NCF register content or RGM FES/DES content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I dissable SWT in startup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e_lis&amp;nbsp;&amp;nbsp; &amp;nbsp;r7,(0xFC05)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;; Provide SWT key 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;e_li&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0xC520&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;se_stw&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0x10(r7)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;; Provide SWT key 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;e_li&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0xD928&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;se_stw&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0x10(r7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;&amp;nbsp; SWT_0 disable&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;se_lwz&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0x0(r7)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;se_bclri r6,0x1F&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;se_stw&amp;nbsp;&amp;nbsp; &amp;nbsp;r6,0x0(r7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check example codes here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329623"&gt;https://community.nxp.com/docs/DOC-329623&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711683#M9311</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-09-26T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711684#M9312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Peter,&lt;/P&gt;&lt;P&gt;By default SWT_0&amp;nbsp;watch dog is enabled as its default value is 0xFF00111B (WEN is set).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in our bootloader we are servicing this watchdog by writing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0xA602u; /* SWT trigger sequence, step 1 */ &lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0xB480u;&lt;/P&gt;&lt;P&gt;and then before jumping into application we are trying to disable the watchdog by writing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Disable watchdog */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0x0000C520ul; /* Key access 1st step */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0x0000D928ul; /* Key access 2nd step */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_CR = 0x8000010Aul; /* Disable SWT */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the above command doesn't seem to be working at all, as I see still the FCCU NCF[14] is set.&lt;/P&gt;&lt;P&gt;But if I disable the watchdog with following snippet&amp;nbsp; at beginning in init&amp;nbsp;before service/ petting it , then everything works good (NCF[14] is not set.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Disable watchdog */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0x0000C520ul; /* Key access 1st step */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_SR = 0x0000D928ul; /* Key access 2nd step */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FBL_SWT_CR = 0x8000010Aul; /* Disable SWT */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is it possible to disable the watchdog in runtime&amp;nbsp;after its being serviced for timeout?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I ensure that watchdog is getting disabled without looking for no reset .(I meant is there a possibility to read CR register's WEN bit&amp;nbsp;and confirm the same.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All your examples show first watch dog being disabled and then enabled .&lt;/P&gt;&lt;P&gt;Can you please share an example with&amp;nbsp; first watchdog being enabled and then serviced for sometime and then disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 22:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711684#M9312</guid>
      <dc:creator>praveenkumar123</dc:creator>
      <dc:date>2017-09-29T22:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711685#M9313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes you can disable SWT anytime.&lt;/P&gt;&lt;P&gt;To check if it is disabled check WEN bit after disabling SWT.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711685#M9313</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-10-03T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711686#M9314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter：&lt;/P&gt;&lt;P&gt;I have a Isystem Debugger but the NCF[14] still appears, why would this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 08:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711686#M9314</guid>
      <dc:creator>shidongxing</dc:creator>
      <dc:date>2018-05-29T08:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711687#M9315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only reason for NCF[14] is that your SWT has expired. And only way to clear NCF[14] when your SWT expired is to reset the device.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 09:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711687#M9315</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-05-30T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: FCCU issue in MPC5744p</title>
      <link>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711688#M9316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to inject ncf[0]-ncf[4], &lt;SPAN style="background: lime;"&gt;two inject mothod&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: lime;"&gt;First&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;：&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;FCCU_DRV_SetNcfFake(0U,2U), no reaction, FCCU not switch to alarm or fault status&lt;/SPAN&gt;, why?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: lime;"&gt;Second&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;：&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;PMC-&amp;gt;FIR = 0x1U;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;When debug this line, s32 design studio show error, why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Error : Error in ONCE status register during instruction execution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 08:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/FCCU-issue-in-MPC5744p/m-p/711688#M9316</guid>
      <dc:creator>fu860925</dc:creator>
      <dc:date>2018-12-11T08:55:20Z</dc:date>
    </item>
  </channel>
</rss>

