<?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>S32KのトピックRe: Application doesn’t run after exiting Debug mode</title>
    <link>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130702#M50714</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;SWT0 is by default disabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1752045693904.png" style="width: 584px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346705i3E8945B96C32AEA3/image-dimensions/584x215?v=v2" width="584" height="215" role="button" title="petervlna_0-1752045693904.png" alt="petervlna_0-1752045693904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But this also depends on IVT configuration which you load into uC.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1752045865338.png" style="width: 626px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346706i29CC55382B7B1344/image-dimensions/626x310?v=v2" width="626" height="310" role="button" title="petervlna_1-1752045865338.png" alt="petervlna_1-1752045865338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_2-1752045874161.png" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346707i5E3307C4A7C71E46/image-dimensions/577x124?v=v2" width="577" height="124" role="button" title="petervlna_2-1752045874161.png" alt="petervlna_2-1752045874161.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 07:25:43 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2025-07-09T07:25:43Z</dc:date>
    <item>
      <title>Application doesn’t run after exiting Debug mode</title>
      <link>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130053#M50669</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I am using S32K311 with S32DS IDE&lt;BR /&gt;I’m facing an issue where my application works perfectly when running under the debugger, but it fails to start when I power-cycle the board.&lt;/P&gt;&lt;P&gt;&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Here’s what I’ve done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I modified the &lt;STRONG&gt;linker script&lt;/STRONG&gt; and placed the heap in the &lt;STRONG&gt;DTCM&lt;/STRONG&gt; region under the name int_adem_dtcm.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;During debugging, the program runs without any issues.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;However, when I reset or restart the board without the debugger, the application does not run.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;LI-EMOJI id="lia_paperclip" title=":paperclip:"&gt;&lt;/LI-EMOJI&gt; I’ve attached the modified linker script for reference.&lt;/P&gt;&lt;P&gt;&lt;LI-EMOJI id="lia_backhand-index-pointing-right" title=":backhand_index_pointing_right:"&gt;&lt;/LI-EMOJI&gt; Has anyone experienced a similar issue? Could it be related to startup code, memory initialization, or DTCM configuration?&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 10:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130053#M50669</guid>
      <dc:creator>adem_marangoz</dc:creator>
      <dc:date>2025-07-08T10:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Application doesn’t run after exiting Debug mode</title>
      <link>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130122#M50677</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;What comes to my mind is watchdog SWT.&lt;/P&gt;
&lt;P&gt;Debuggers by default disable watchdog in debug mode, so you can perform debug.&lt;/P&gt;
&lt;P&gt;Make sure your SWT is disabled / services correctly.&lt;/P&gt;
&lt;P&gt;You can check RGM module DES and FES modules for any latched reset sources.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;However, when I reset or restart the board without the debugger, the application does not run.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Also I am not sure what "does not run" means....&lt;/P&gt;
&lt;P&gt;Is SW stuck in some loop,. reset, exception, etc..... ?&lt;/P&gt;
&lt;P&gt;Additionally debuggers perform various initializations like RAM initialization to be able load binaries for communication with device via scripts, which are not always visible to user.&lt;/P&gt;
&lt;P&gt;You can also check FCCU NCFSx registers to see if any fault is latched there, this will give you a good hint where to look.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 11:37:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130122#M50677</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-07-08T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Application doesn’t run after exiting Debug mode</title>
      <link>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130138#M50678</link>
      <description>&lt;P&gt;This is the &lt;STRONG&gt;main program&lt;/STRONG&gt; that I have attached.&lt;BR /&gt;I don’t know if it is entering an &lt;STRONG&gt;exception&lt;/STRONG&gt;.&lt;BR /&gt;I check if the program is running by observing the &lt;STRONG&gt;LED&lt;/STRONG&gt; that turns on and off in the while loop.&lt;BR /&gt;In the &lt;STRONG&gt;driver settings&lt;/STRONG&gt;, I did not add the &lt;STRONG&gt;SWT&lt;/STRONG&gt;. Is there a &lt;STRONG&gt;default SWT&lt;/STRONG&gt; that gets enabled?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 12:02:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130138#M50678</guid>
      <dc:creator>adem_marangoz</dc:creator>
      <dc:date>2025-07-08T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Application doesn’t run after exiting Debug mode</title>
      <link>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130702#M50714</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;SWT0 is by default disabled.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1752045693904.png" style="width: 584px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346705i3E8945B96C32AEA3/image-dimensions/584x215?v=v2" width="584" height="215" role="button" title="petervlna_0-1752045693904.png" alt="petervlna_0-1752045693904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But this also depends on IVT configuration which you load into uC.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1752045865338.png" style="width: 626px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346706i29CC55382B7B1344/image-dimensions/626x310?v=v2" width="626" height="310" role="button" title="petervlna_1-1752045865338.png" alt="petervlna_1-1752045865338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_2-1752045874161.png" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346707i5E3307C4A7C71E46/image-dimensions/577x124?v=v2" width="577" height="124" role="button" title="petervlna_2-1752045874161.png" alt="petervlna_2-1752045874161.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 07:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Application-doesn-t-run-after-exiting-Debug-mode/m-p/2130702#M50714</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-07-09T07:25:43Z</dc:date>
    </item>
  </channel>
</rss>

