<?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: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2392055#M59742</link>
    <description>&lt;P&gt;&lt;SPAN&gt;After my investigation, I found that some global variables were not initialized as defined when&amp;lt;eMCEM_1&amp;gt;was enabled&lt;/SPAN&gt;。&lt;BR /&gt;&lt;SPAN&gt;Select a portion for explanation&lt;/SPAN&gt;：&lt;BR /&gt;Firstly, when I haven't enabled the target&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_0-1783494597992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391563iEAE400BA10914D5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_0-1783494597992.png" alt="XPW_0-1783494597992.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Clock_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_1-1783494731850.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391564iF08282965F8D8F5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_1-1783494731850.png" alt="XPW_1-1783494731850.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_2-1783494792174.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391565i5A50275B4FC653F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_2-1783494792174.png" alt="XPW_2-1783494792174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_3-1783494883662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391566iA0831F9CD390D725/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_3-1783494883662.png" alt="XPW_3-1783494883662.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="XPW_4-1783494909192.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391567iAD0FE3B3FCB44E13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_4-1783494909192.png" alt="XPW_4-1783494909192.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Can initialize correctly&lt;/SPAN&gt;。&lt;BR /&gt;&lt;SPAN&gt;However, when I activated it&lt;/SPAN&gt;：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_5-1783495188492.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391569iA978B72E4041C63C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_5-1783495188492.png" alt="XPW_5-1783495188492.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="XPW_6-1783495223242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391570iF0E1A0C442E84DB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_6-1783495223242.png" alt="XPW_6-1783495223242.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Clock_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_7-1783495794585.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391571i73E5F02C55858197/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_7-1783495794585.png" alt="XPW_7-1783495794585.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="XPW_8-1783495823066.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391572iE2556137C0DA4F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_8-1783495823066.png" alt="XPW_8-1783495823066.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Power_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_9-1783495866324.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391573iFBCE7557A1EF23FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_9-1783495866324.png" alt="XPW_9-1783495866324.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="XPW_10-1783495886502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391574i26C32A0342D82D24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_10-1783495886502.png" alt="XPW_10-1783495886502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Global variable initialization failed&lt;/SPAN&gt;。&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask if there is a better solution?&lt;/SPAN&gt;&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2026 07:37:42 GMT</pubDate>
    <dc:creator>XPW</dc:creator>
    <dc:date>2026-07-08T07:37:42Z</dc:date>
    <item>
      <title>S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2390216#M59673</link>
      <description>&lt;P&gt;Sort out the logic and rewrite: As the title suggests, when I enabled eMCEM_1 in the app code, downloading the app using the official bootloader failed. If I didn't erase the chip, I couldn't enter the boot again, and even after powering it back on, it wouldn't solve the problem. I suspect that after powering it back on, the boot jumped to the app, but the app didn't run. When I disable eMCEM_1, this issue does not occur. How can I use boot to flash the app when eMCEM_1 is enabled&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2026 08:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2390216#M59673</guid>
      <dc:creator>XPW</dc:creator>
      <dc:date>2026-07-03T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2390369#M59678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253799"&gt;@XPW&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The problem description is not entirely clear.&lt;BR /&gt;If the application is being programmed through the bootloader, the eMCEM_1 configuration contained in the application should not affect the programming process itself, since the application is not executed during download, it is just a binary.&lt;BR /&gt;Only after the bootloader transfers execution to the application would eMCEM/FCCU-related configuration become relevant, and at that point, it would be useful to check:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;FCCU status registers&lt;/LI&gt;
&lt;LI&gt;DCM flags,&amp;nbsp;MC_RGM flags.&lt;/LI&gt;
&lt;LI&gt;Or whether the application actually reaches main()&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Based on the current description, it is unclear whether the programming operation fails, or whether programming succeeds and the issue occurs later when the application starts executing.&lt;/P&gt;
&lt;P&gt;Could you clarify the exact sequence of events?&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;</description>
      <pubDate>Fri, 03 Jul 2026 11:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2390369#M59678</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-07-03T11:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2392055#M59742</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After my investigation, I found that some global variables were not initialized as defined when&amp;lt;eMCEM_1&amp;gt;was enabled&lt;/SPAN&gt;。&lt;BR /&gt;&lt;SPAN&gt;Select a portion for explanation&lt;/SPAN&gt;：&lt;BR /&gt;Firstly, when I haven't enabled the target&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_0-1783494597992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391563iEAE400BA10914D5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_0-1783494597992.png" alt="XPW_0-1783494597992.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Clock_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_1-1783494731850.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391564iF08282965F8D8F5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_1-1783494731850.png" alt="XPW_1-1783494731850.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_2-1783494792174.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391565i5A50275B4FC653F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_2-1783494792174.png" alt="XPW_2-1783494792174.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Power_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_3-1783494883662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391566iA0831F9CD390D725/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_3-1783494883662.png" alt="XPW_3-1783494883662.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="XPW_4-1783494909192.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391567iAD0FE3B3FCB44E13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_4-1783494909192.png" alt="XPW_4-1783494909192.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Can initialize correctly&lt;/SPAN&gt;。&lt;BR /&gt;&lt;SPAN&gt;However, when I activated it&lt;/SPAN&gt;：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_5-1783495188492.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391569iA978B72E4041C63C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_5-1783495188492.png" alt="XPW_5-1783495188492.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="XPW_6-1783495223242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391570iF0E1A0C442E84DB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_6-1783495223242.png" alt="XPW_6-1783495223242.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;Clock_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_7-1783495794585.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391571i73E5F02C55858197/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_7-1783495794585.png" alt="XPW_7-1783495794585.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="XPW_8-1783495823066.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391572iE2556137C0DA4F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_8-1783495823066.png" alt="XPW_8-1783495823066.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Power_ip. c under RTD file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XPW_9-1783495866324.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391573iFBCE7557A1EF23FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_9-1783495866324.png" alt="XPW_9-1783495866324.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="XPW_10-1783495886502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391574i26C32A0342D82D24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XPW_10-1783495886502.png" alt="XPW_10-1783495886502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Global variable initialization failed&lt;/SPAN&gt;。&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask if there is a better solution?&lt;/SPAN&gt;&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 07:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2392055#M59742</guid>
      <dc:creator>XPW</dc:creator>
      <dc:date>2026-07-08T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2392837#M59762</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253799"&gt;@XPW&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Based on what I see in the screenshots, the variables are initialized correctly at first. However, after the eMCEM initialization, Clock_Ip_pfkNotificationsCallback contains an invalid pointer.&lt;BR /&gt;eMCEM does not magically change the pointer value. This looks much more like one of the following issues:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Startup initialization (.data copy / .bss initialization) is not completed correctly.&lt;/LI&gt;
&lt;LI&gt;RAM corruption occurs before main().&lt;/LI&gt;
&lt;LI&gt;Linker sections overlap.&lt;/LI&gt;
&lt;LI&gt;Stack corruption.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Can you test it with the linker file from the SPD demo project?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2026 07:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-chip-failed-to-download-using-bootloader-after-adding/m-p/2392837#M59762</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-07-09T07:56:35Z</dc:date>
    </item>
  </channel>
</rss>

