<?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: S32k311 not working when Debugger is disconnected</title>
    <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2140209#M51282</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211941"&gt;@kiran5&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The HSE firmware (HSE_FW) is not installed by default.&lt;BR /&gt;It must be manually installed by the user.&lt;BR /&gt;The firmware is available in the S32K3xx Secure Files, which are accessible under NDA.&lt;/P&gt;
&lt;P&gt;You can reconnect the debugger to the MCU.&lt;BR /&gt;In S32 Design Studio (S32DS), using the PE Micro plugin, attach the debugger and halt the core.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1753364423664.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349346i431CBA9F005E9B45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1753364423664.png" alt="danielmartynek_0-1753364423664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then, check the Configurable Fault Status Register (CFSR) to identify any fault exceptions.&lt;BR /&gt;&lt;A href="https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register" target="_blank"&gt;https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A common issue may be incorrectly initialized ECC in volatile memory.&lt;BR /&gt;When using a debugger, memory is typically initialized automatically by the debugger.&lt;BR /&gt;However, when the MCU runs standalone, the application must handle memory initialization in the startup code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&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>Thu, 24 Jul 2025 13:45:26 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2025-07-24T13:45:26Z</dc:date>
    <item>
      <title>S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2134134#M50922</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I am using S32k311 microcontroller for our project. When I flash in the Debug mode the software is working fine. When i remove the Debugger the software is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought it might be due to some code issue. So just used a gpio pin to toggle inside a while loop.&lt;/P&gt;&lt;P&gt;During this also while in debug mode, i am able to see the toggling of the PIN. Once i reset the power and it comes out if the Debug mode the MCU is not working.&lt;/P&gt;&lt;P&gt;I flashed&amp;nbsp; the Software in Debug Flash PNE mode.&lt;/P&gt;&lt;P&gt;I used the same method while using NXP KEA series controllers. It worked fine.&lt;/P&gt;&lt;P&gt;Want to know if any new settings are to be done in order to keep the code running once we come out of the Debug mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 11:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2134134#M50922</guid>
      <dc:creator>kiran5</dc:creator>
      <dc:date>2025-07-15T11:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2134233#M50924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211941"&gt;@kiran5&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This has been discussed a several times here on the community.&lt;/P&gt;
&lt;P&gt;Have a look at these threads:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1571570/highlight/true" target="_blank"&gt;https://community.nxp.com/t5/S32K/The-program-runs-normally-with-a-debugger-but-the-program-runs/m-p/1571570/highlight/true&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856764" target="_blank"&gt;https://community.nxp.com/t5/S32K/MCU-is-resetting-when-running-without-debugger/m-p/1856764&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K311-can-not-work-normally-without-debugger/m-p/1682556" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K311-can-not-work-normally-without-debugger/m-p/1682556&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 14:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2134233#M50924</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-15T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2139454#M51261</link>
      <description>&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;I created a new application project and just making a pin as output and toggling.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;SIUL2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;MSCR&lt;/SPAN&gt;&lt;SPAN&gt;[1].&lt;/SPAN&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;OBE&lt;/SPAN&gt;&lt;SPAN&gt; = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SIUL2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GPDO1&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;PDO_N&lt;/SPAN&gt;&lt;SPAN&gt; =1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;int&lt;/SPAN&gt;&lt;SPAN&gt; i=0; i&amp;lt;250;i++)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SIUL2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GPDO1&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;B&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;PDO_N&lt;/SPAN&gt;&lt;SPAN&gt; =0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Here the clock configuration is default. Still i am not able to observe the toggle when debugger is disconnected.&lt;/P&gt;&lt;P&gt;HSE clock is configured half of the core clock. Still code is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:30:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2139454#M51261</guid>
      <dc:creator>kiran5</dc:creator>
      <dc:date>2025-07-23T14:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2139952#M51271</link>
      <description>&lt;P&gt;Hi Kiran,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the HSE_FW installed on the MCU?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 07:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2139952#M51271</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-24T07:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2140114#M51280</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I am not sure about the HSE_FW or how it should be installed in the MCU.&lt;/P&gt;&lt;P&gt;Another behaviour is observed during our testing.&lt;/P&gt;&lt;P&gt;When i use the Example code in the s32ds for Uartk311 and remove the code in the main and add my simple toggling of the PIN using the SIUL register it works fine&amp;nbsp; in both debug and release mode. The testing is done on the development board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran5_0-1753355791250.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349316i4F9F7CF8C793753D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran5_0-1753355791250.png" alt="kiran5_0-1753355791250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same code when i use it with a newly created application project it is working only in the debug mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran5_1-1753355843675.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349317i122B5CD551409348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran5_1-1753355843675.png" alt="kiran5_1-1753355843675.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any changes which has to be done to start the code in ram in release mode?&lt;/P&gt;&lt;P&gt;One of my collegue is using s32k144 and he faced the same issue. It was resolved by updated the start address to main in the startup.s file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 11:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2140114#M51280</guid>
      <dc:creator>kiran5</dc:creator>
      <dc:date>2025-07-24T11:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 not working when Debugger is disconnected</title>
      <link>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2140209#M51282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211941"&gt;@kiran5&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The HSE firmware (HSE_FW) is not installed by default.&lt;BR /&gt;It must be manually installed by the user.&lt;BR /&gt;The firmware is available in the S32K3xx Secure Files, which are accessible under NDA.&lt;/P&gt;
&lt;P&gt;You can reconnect the debugger to the MCU.&lt;BR /&gt;In S32 Design Studio (S32DS), using the PE Micro plugin, attach the debugger and halt the core.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1753364423664.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/349346i431CBA9F005E9B45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1753364423664.png" alt="danielmartynek_0-1753364423664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then, check the Configurable Fault Status Register (CFSR) to identify any fault exceptions.&lt;BR /&gt;&lt;A href="https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register" target="_blank"&gt;https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A common issue may be incorrectly initialized ECC in volatile memory.&lt;BR /&gt;When using a debugger, memory is typically initialized automatically by the debugger.&lt;BR /&gt;However, when the MCU runs standalone, the application must handle memory initialization in the startup code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&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>Thu, 24 Jul 2025 13:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k311-not-working-when-Debugger-is-disconnected/m-p/2140209#M51282</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-07-24T13:45:26Z</dc:date>
    </item>
  </channel>
</rss>

