<?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中的主题 Flashing Code on S32K144 EVB – Debug Works but Run Causes Error</title>
    <link>https://community.nxp.com/t5/S32K/Flashing-Code-on-S32K144-EVB-Debug-Works-but-Run-Causes-Error/m-p/2314653#M56680</link>
    <description>&lt;P class=""&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I am using &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;S32 Design Studio Platform v3.4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; with the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;S32K144 EVB&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; for application development.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Currently, I am able to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;debug the application successfully&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; using the debugger in S32 Design Studio. However, whenever I try to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; the application, an &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;error window appears&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, and the application does not execute as expected.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (379).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376108i83DDC55D1DC451DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (379).png" alt="Screenshot (379).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (382).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376107i65484AD942B77403/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (382).png" alt="Screenshot (382).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Additionally, after &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;power cycling the board&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, the previously loaded code does &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;not run automatically&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, which indicates that the code might not be getting &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flashed permanently into the MCU&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; and is only running during the debug session.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I would like to understand:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Why debugging works, but running the application results in an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Whether additional configuration is required to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flash the code permanently&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; to the S32K144 MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;If any &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;linker settings, debugger settings, or flash programmer configuration&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; need to be modified.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Whether an external flash programmer (such as PEMicro Flash Programmer) is required, or if S32 Design Studio alone is sufficient.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;My goal is to properly &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flash the application into the internal flash memory&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; so that the code runs automatically after reset or power cycling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Please let me know the correct procedure to resolve this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2026 11:33:40 GMT</pubDate>
    <dc:creator>KAVIN7</dc:creator>
    <dc:date>2026-02-09T11:33:40Z</dc:date>
    <item>
      <title>Flashing Code on S32K144 EVB – Debug Works but Run Causes Error</title>
      <link>https://community.nxp.com/t5/S32K/Flashing-Code-on-S32K144-EVB-Debug-Works-but-Run-Causes-Error/m-p/2314653#M56680</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I am using &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;S32 Design Studio Platform v3.4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; with the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;S32K144 EVB&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; for application development.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Currently, I am able to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;debug the application successfully&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; using the debugger in S32 Design Studio. However, whenever I try to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; the application, an &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;error window appears&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, and the application does not execute as expected.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (379).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376108i83DDC55D1DC451DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (379).png" alt="Screenshot (379).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (382).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376107i65484AD942B77403/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (382).png" alt="Screenshot (382).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Additionally, after &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;power cycling the board&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, the previously loaded code does &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;not run automatically&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, which indicates that the code might not be getting &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flashed permanently into the MCU&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; and is only running during the debug session.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I would like to understand:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Why debugging works, but running the application results in an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Whether additional configuration is required to &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flash the code permanently&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; to the S32K144 MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;If any &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;linker settings, debugger settings, or flash programmer configuration&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; need to be modified.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;Whether an external flash programmer (such as PEMicro Flash Programmer) is required, or if S32 Design Studio alone is sufficient.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;My goal is to properly &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;flash the application into the internal flash memory&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; so that the code runs automatically after reset or power cycling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Please let me know the correct procedure to resolve this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 11:33:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flashing-Code-on-S32K144-EVB-Debug-Works-but-Run-Causes-Error/m-p/2314653#M56680</guid>
      <dc:creator>KAVIN7</dc:creator>
      <dc:date>2026-02-09T11:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing Code on S32K144 EVB – Debug Works but Run Causes Error</title>
      <link>https://community.nxp.com/t5/S32K/Flashing-Code-on-S32K144-EVB-Debug-Works-but-Run-Causes-Error/m-p/2315760#M56727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258206"&gt;@KAVIN7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the information you provided, I understand that you first flash the application using Debug Configurations, where the code runs correctly, and afterward you attempt to flash it again using a Run Configuration.&lt;/P&gt;
&lt;P&gt;Since the application behaves as expected when launched in Debug mode, a possible cause of the issue could indeed be an incorrect Run Configuration.&lt;/P&gt;
&lt;P&gt;Another important point to consider is what happens after resetting the MCU. If the program runs only while debugging but stops working after a reset, it is possible that the code is being loaded into RAM instead of Flash. When code is placed in RAM, it does not persist after a reset or power cycle, which would explain why it works immediately after flashing in Debug mode but not afterward.&lt;/P&gt;
&lt;P&gt;Lastly, because you are using an EVB and, as I understand, relying on the onboard debugger (OpenSDA), please keep in mind that OpenSDA uses PEmicro firmware. This is important because, as you can see in your project’s Run Configurations, there is no existing Run Configuration for PEmicro, unlike the default Debug Configuration automatically generated for the PEmicro interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 16:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flashing-Code-on-S32K144-EVB-Debug-Works-but-Run-Causes-Error/m-p/2315760#M56727</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-02-10T16:14:55Z</dc:date>
    </item>
  </channel>
</rss>

