<?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 Bootloader Code Failing in D-Flash Region on S32K118 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098315#M48853</link>
    <description>&lt;P class=""&gt;Hi Team,&lt;/P&gt;&lt;P class=""&gt;I'm facing an issue while running the bootloader code from the D-Flash region on the S32K118. When I run the code, it unexpectedly jumps to the &lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;, and I’m unable to identify the root cause.&lt;/P&gt;&lt;P class=""&gt;The same code works fine when the linker script is configured to run from &lt;STRONG&gt;P-Flash&lt;/STRONG&gt;, so the issue seems specific to executing from D-Flash.&lt;/P&gt;&lt;P class=""&gt;Here are some observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;While waiting for data via UART (using blocking mode with 0xFFFFFFFF timeout or polling), the code proceeds to the next step &lt;STRONG&gt;even if no data is received from the host&lt;/STRONG&gt; (I confirmed this by testing without any physical UART connection).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;I suspect this could be contributing to the problem, but &lt;STRONG&gt;even when UART functionality is disabled&lt;/STRONG&gt;, the code still enters &lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Occasionally, the system crashes &lt;STRONG&gt;when trying to write new firmware into P-Flash&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Debugging is also difficult as I’m using -O1 optimization, which might be causing the debug view to behave unpredictably. when I try with&amp;nbsp;-O0&amp;nbsp;also it jumps to&amp;nbsp;&lt;STRONG&gt;DefaultISR.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;This is a high-priority issue, and I would appreciate your help in identifying possible causes and providing a solution at the earliest.&lt;/P&gt;&lt;P class=""&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 18:05:34 GMT</pubDate>
    <dc:creator>Arunpk</dc:creator>
    <dc:date>2025-05-15T18:05:34Z</dc:date>
    <item>
      <title>Bootloader Code Failing in D-Flash Region on S32K118</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098315#M48853</link>
      <description>&lt;P class=""&gt;Hi Team,&lt;/P&gt;&lt;P class=""&gt;I'm facing an issue while running the bootloader code from the D-Flash region on the S32K118. When I run the code, it unexpectedly jumps to the &lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;, and I’m unable to identify the root cause.&lt;/P&gt;&lt;P class=""&gt;The same code works fine when the linker script is configured to run from &lt;STRONG&gt;P-Flash&lt;/STRONG&gt;, so the issue seems specific to executing from D-Flash.&lt;/P&gt;&lt;P class=""&gt;Here are some observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;While waiting for data via UART (using blocking mode with 0xFFFFFFFF timeout or polling), the code proceeds to the next step &lt;STRONG&gt;even if no data is received from the host&lt;/STRONG&gt; (I confirmed this by testing without any physical UART connection).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;I suspect this could be contributing to the problem, but &lt;STRONG&gt;even when UART functionality is disabled&lt;/STRONG&gt;, the code still enters &lt;STRONG&gt;DefaultISR&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Occasionally, the system crashes &lt;STRONG&gt;when trying to write new firmware into P-Flash&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Debugging is also difficult as I’m using -O1 optimization, which might be causing the debug view to behave unpredictably. when I try with&amp;nbsp;-O0&amp;nbsp;also it jumps to&amp;nbsp;&lt;STRONG&gt;DefaultISR.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;This is a high-priority issue, and I would appreciate your help in identifying possible causes and providing a solution at the earliest.&lt;/P&gt;&lt;P class=""&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 18:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098315#M48853</guid>
      <dc:creator>Arunpk</dc:creator>
      <dc:date>2025-05-15T18:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Code Failing in D-Flash Region on S32K118</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098553#M48867</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;Arunpk&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please provide your project that can reproduce the problem.&lt;/P&gt;
&lt;P&gt;And i will take some time to help you troubleshoot the root cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 02:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098553#M48867</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-05-16T02:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Code Failing in D-Flash Region on S32K118</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098624#M48875</link>
      <description>Please share your email ID so I can send the project.</description>
      <pubDate>Fri, 16 May 2025 05:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098624#M48875</guid>
      <dc:creator>Arunpk</dc:creator>
      <dc:date>2025-05-16T05:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader Code Failing in D-Flash Region on S32K118</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098627#M48876</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Arunpk" target="_blank"&gt;Hi@Arunpk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can send me a private message, or reply to me directly in your another case 00706554.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 05:34:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-Code-Failing-in-D-Flash-Region-on-S32K118/m-p/2098627#M48876</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-05-16T05:34:43Z</dc:date>
    </item>
  </channel>
</rss>

