<?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: MPC5746R SWT disable in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756059#M10652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does the debugger disable SWT, could it have anything to do with the bit 28 always being set to 1 at startup?&lt;/P&gt;&lt;P&gt;//Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 13:27:23 GMT</pubDate>
    <dc:creator>ceciliac</dc:creator>
    <dc:date>2018-06-07T13:27:23Z</dc:date>
    <item>
      <title>MPC5746R SWT disable</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756057#M10650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, in the AN4670 document and also in the generated startup.S code in S32DS it states that to disable the SWT the SWT_CR field should be set to 0xFF00010A, but according to the ref. manual the "A" would write on a reserved bit. Is bit 28 reserved or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also only SWT1 should be enabled by default but when looking at the memory on position 0xFC050000 (SWT0) it reads 0xFF00011B, why is that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue/question is that in the generated startup.S (from S32DS) there is code to disable the SWT1 also for core 0....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit off topic ... but...I noticed that the&amp;nbsp;crt0_core1_flash.s in AN4670 does not init the registers in the same order as in the startup.S....which of the two is the preferred way of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I also have a problem with IVOR1 when writing to the registers....does anyone have a working example on how/when to enable the SWT? (I have already looked at Example-MPC5744P-SWT-Short-reset-v1_1-GHS614 without any success....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:19:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756057#M10650</guid>
      <dc:creator>ceciliac</dc:creator>
      <dc:date>2018-06-06T10:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R SWT disable</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756058#M10651</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;This is quite simple. Just write in SWT WEN bit on watchdog you want to disable. You have to unlock CR register before write.&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/24613i87129736A0F5D083/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;Always stick with RM and not with some S32DS examples. Reserved bit must be leaved untouched or it can lead to unpredictable behavior.&lt;/P&gt;&lt;P&gt;You can control from any core any SWT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Example-MPC5744P-SWT-Short-reset-v1_1-GHS614 is working correctly. Just have in mind that debugger by default disables SWT and you have to enable it in debugger if you want to debug this 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>Thu, 07 Jun 2018 05:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756058#M10651</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-06-07T05:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R SWT disable</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756059#M10652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does the debugger disable SWT, could it have anything to do with the bit 28 always being set to 1 at startup?&lt;/P&gt;&lt;P&gt;//Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:27:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746R-SWT-disable/m-p/756059#M10652</guid>
      <dc:creator>ceciliac</dc:creator>
      <dc:date>2018-06-07T13:27:23Z</dc:date>
    </item>
  </channel>
</rss>

