<?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: The program runs normally with a debugger, but the program runs flying without a debugger in S32K</title>
    <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1847887#M34252</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222923"&gt;@anakha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What debugger do you have?&lt;/P&gt;
&lt;P&gt;Multilink can be attached to the running MCU stuck in the exception handler.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1713256703869.png" style="width: 510px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273964iB6979B80D6EAC8FB/image-dimensions/510x356?v=v2" width="510" height="356" role="button" title="danielmartynek_0-1713256703869.png" alt="danielmartynek_0-1713256703869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the clocks are configured precisely to one of the clock options.&lt;/P&gt;
&lt;P&gt;RM, 24.7.2 System clocking configurations&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 08:40:33 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-04-16T08:40:33Z</dc:date>
    <item>
      <title>The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1566869#M19335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using S32K312, I found that when debugging on FLASH with a debugger, the program ran normally. Without a debugger, when running the ADC to initialize the operation on the MCR registers, the program runaway. After doing some debugging, I found that when operating the registers of PWM or SPI without a debugger, the program will also runaway, but with a debugger, the program runs normally.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The program are all running on FLASH, I don't know the difference between with and without a debuger? Do you know why the program runaway without a debugger? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 12:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1566869#M19335</guid>
      <dc:creator>SethWang</dc:creator>
      <dc:date>2022-12-08T12:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1566898#M19336</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204974"&gt;@SethWang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What does it actually do? Do you see a fault exception or a system reset?&lt;/P&gt;
&lt;P&gt;The debugger can typically disable the WDOG or initialize SRAM ECC.&lt;/P&gt;
&lt;P&gt;Can you double-check the SRAM ECC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 14:05:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1566898#M19336</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-12-08T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1571570#M19498</link>
      <description>Thank you.&lt;BR /&gt;The reasons is  the  configuration problem of PLL .The problem has solved.</description>
      <pubDate>Mon, 19 Dec 2022 01:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1571570#M19498</guid>
      <dc:creator>SethWang</dc:creator>
      <dc:date>2022-12-19T01:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1838862#M33691</link>
      <description>&lt;P&gt;Can you tell me how you solved the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 02:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1838862#M33691</guid>
      <dc:creator>DouDou1</dc:creator>
      <dc:date>2024-04-02T02:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1847803#M34243</link>
      <description>how can I check them without debugger?&lt;BR /&gt;My app also runs OK with debugger but goes to hard fault handler but I am not sure.&lt;BR /&gt;I put below code to my app and my test rgb led goes to red(error).&lt;BR /&gt;&lt;BR /&gt;void HardFault_Handler(void)&lt;BR /&gt;{&lt;BR /&gt;set_rgb_status(ERROR);&lt;BR /&gt;while(TRUE){};&lt;BR /&gt;}</description>
      <pubDate>Tue, 16 Apr 2024 07:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1847803#M34243</guid>
      <dc:creator>anakha</dc:creator>
      <dc:date>2024-04-16T07:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: The program runs normally with a debugger, but the program runs flying without a debugger</title>
      <link>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1847887#M34252</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222923"&gt;@anakha&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What debugger do you have?&lt;/P&gt;
&lt;P&gt;Multilink can be attached to the running MCU stuck in the exception handler.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1713256703869.png" style="width: 510px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273964iB6979B80D6EAC8FB/image-dimensions/510x356?v=v2" width="510" height="356" role="button" title="danielmartynek_0-1713256703869.png" alt="danielmartynek_0-1713256703869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the clocks are configured precisely to one of the clock options.&lt;/P&gt;
&lt;P&gt;RM, 24.7.2 System clocking configurations&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1847887#M34252</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-04-16T08:40:33Z</dc:date>
    </item>
  </channel>
</rss>

