<?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>MPC5xxx中的主题 Re: MPC5644A - SWT - Software WatchDog Timer</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230425#M17345</link>
    <description>&lt;P&gt;Well, it's understood. Thank you Mr&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Do you any thoughts/comments about my second question ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 16:13:07 GMT</pubDate>
    <dc:creator>ShadowShooTR</dc:creator>
    <dc:date>2021-02-12T16:13:07Z</dc:date>
    <item>
      <title>MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230240#M17329</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've two questions about SWT settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, In referance manual&amp;nbsp; there is a softlock bit&amp;nbsp; which makes the regs are writeable and readable or just readable.&amp;nbsp; I've wanted to try it as shown below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShadowShooTR_1-1613116846857.png" style="width: 314px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137098iB8258BF20EAE9B55/image-dimensions/314x151?v=v2" width="314" height="151" role="button" title="ShadowShooTR_1-1613116846857.png" alt="ShadowShooTR_1-1613116846857.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShadowShooTR_2-1613117113424.png" style="width: 326px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137099i72371D0A459BA7E0/image-dimensions/326x154?v=v2" width="326" height="154" role="button" title="ShadowShooTR_2-1613117113424.png" alt="ShadowShooTR_2-1613117113424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It works fine like this. However, when the MCR is locked state , I've tried to reach that register (MCR) without removing the lock. It immediately causes the system reset.&lt;/P&gt;&lt;P&gt;Then I realize that there is&amp;nbsp; RIA bit in MCR register. When I read its definition, I understand that when a invalid access happens, the SWT generates just error not system reset (IF MCR_RIA = 0 ).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShadowShooTR_0-1613116701300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137097iEF6EEE0F01DF319D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShadowShooTR_0-1613116701300.png" alt="ShadowShooTR_0-1613116701300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've changed RIA as 0, and tried again, but it still resets.&lt;/P&gt;&lt;P&gt;Is there a something that I missed ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second question is :&lt;/P&gt;&lt;P&gt;I wanted to lock those registers especially MCR so that it is not accessible even if it's almost unlikely. Because there is MAPn bits which make the master accesses enable/disable. I've seached its meaning in MPC5644A r.m but didn't found.&amp;nbsp; I've found in 5674F r.m&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShadowShooTR_4-1613118189159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137101iF19DD7B89E52AB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShadowShooTR_4-1613118189159.png" alt="ShadowShooTR_4-1613118189159.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShadowShooTR_3-1613118144239.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137100i08B9D78F6CA04AAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShadowShooTR_3-1613118144239.png" alt="ShadowShooTR_3-1613118144239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've disabled the core 0 access by setting MCR_MAP0 = 0 then the whole system is crashed .&lt;/P&gt;&lt;P&gt;Could you explain that why there is a selection like this ? How can I use MCU when I&amp;nbsp; disable the CPU instruction access.&amp;nbsp;Maybe , it is designed as if several core existence but there is one core .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;HG&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 16:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230240#M17329</guid>
      <dc:creator>ShadowShooTR</dc:creator>
      <dc:date>2021-02-12T16:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230306#M17333</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;in the SIU_DIRER register is also option to choose whether IVOR0 or IVOR1 is supposed to be generated and this needs to be unmasked by settting MCR[CE] or MSR[ME].&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1613128624432.png" style="width: 635px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137110iD3A40BC26165151E/image-dimensions/635x394?v=v2" width="635" height="394" role="button" title="davidtosenovjan_0-1613128624432.png" alt="davidtosenovjan_0-1613128624432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 11:22:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230306#M17333</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-02-12T11:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230355#M17335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see, you mean an invalid acces to SWT will always cause an interrupt. If SWT bus error occurs, interrupt can be selected as you said.&lt;/P&gt;&lt;P&gt;So, it can be handled in IVOR0 or IVOR1 traps am I right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 12:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230355#M17335</guid>
      <dc:creator>ShadowShooTR</dc:creator>
      <dc:date>2021-02-12T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230414#M17343</link>
      <description>&lt;P&gt;It goes into IVOR1 (i.e. bus error) as service sequence is invalid what implies watchdog is not serviced and device is reset by SWT itself subsequently.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 15:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230414#M17343</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-02-12T15:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230424#M17344</link>
      <description>&lt;P&gt;Regarding second question - The description you may find on the first page of XBAR chapter:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1613145495590.png" style="width: 696px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/137126i9DE3D8CB7F50EBCD/image-dimensions/696x1114?v=v2" width="696" height="1114" role="button" title="davidtosenovjan_0-1613145495590.png" alt="davidtosenovjan_0-1613145495590.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It you speak about SWT_MCR[MAPx] fields, then it only affects accesses to SWT. Theoretically it can be handled by DMA for instance, although it does not make to much sense. But mainly, it'll be generic module for multiple devices. Yes, it can be used with devices where masters are mapped differently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 16:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230424#M17344</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-02-12T16:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230425#M17345</link>
      <description>&lt;P&gt;Well, it's understood. Thank you Mr&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Do you any thoughts/comments about my second question ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 16:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230425#M17345</guid>
      <dc:creator>ShadowShooTR</dc:creator>
      <dc:date>2021-02-12T16:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5644A - SWT - Software WatchDog Timer</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230433#M17346</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 16:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5644A-SWT-Software-WatchDog-Timer/m-p/1230433#M17346</guid>
      <dc:creator>ShadowShooTR</dc:creator>
      <dc:date>2021-02-12T16:19:40Z</dc:date>
    </item>
  </channel>
</rss>

