<?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 S32K328 - Error while flashing ELF in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2182789#M53341</link>
    <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am getting below error randomly while flashing any elf to S32K328 using PE micro debugger.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58975" to 6224&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58980" to 7224&lt;BR /&gt;Telnet server running on 127.0.0.1:51794&lt;BR /&gt;Searching for Kernel Symbols...&lt;BR /&gt;rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472&lt;BR /&gt;_tx_thread_current_ptr not found. ThreadX analysis not enabled.&lt;BR /&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;BR /&gt;pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Unable to load libusb0.dll&lt;BR /&gt;Copyright 2023 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\win32\pegdbserver_console -device=NXP_S32K3xx_S32K328 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=50�&lt;BR /&gt;PEmicro Interface detected - Flash Version 11.52&lt;BR /&gt;&lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\nxp_s32k328_1x32x2036k_hse_disabled.arp&lt;BR /&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Initialized.&lt;BR /&gt;&lt;BR /&gt;;version 1.00, 04/03/2023, Copyright 2023 P&amp;amp;E Microcomputer Systems, &lt;A href="http://www.pemicro.com" target="_blank"&gt;www.pemicro.com&lt;/A&gt; [S32K358_hse_disabled]&lt;BR /&gt;&lt;BR /&gt;;device nxp, s32k328, 1x32x2036k,desc=hse_disabled&lt;BR /&gt;&lt;BR /&gt;;begin_cs device=$00400000, length=$007F4000, ram=$20400000&lt;BR /&gt;&lt;BR /&gt;Loading programming algorithm ...&lt;BR /&gt;&lt;BR /&gt;WARNING - Selected .ARP file has been modified. CRC16 = $392A&lt;BR /&gt;&lt;BR /&gt;Error enabling module just selected.&lt;BR /&gt;Error loading programming algorithm - load aborted.&lt;BR /&gt;Error occured during Flash programming.&lt;BR /&gt;MemManage: The processor attempted a load or store at a location that does not permit the operation.&lt;BR /&gt;Possible MemManage fault location: 0x3540F461.&lt;BR /&gt;HardFault: A fault has been escalated to a hard fault.&lt;BR /&gt;Warning - device did not halt out of reset. Stopping core.&lt;BR /&gt;&lt;BR /&gt;Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\S32K328.mac) ...&lt;BR /&gt;REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).&lt;BR /&gt;REM Initialize RAM and DMA:&lt;BR /&gt;REM Initialize DMA TCD:&lt;BR /&gt;REM Copy valid executable code to RAM for each core to be used.&lt;BR /&gt;REM Enable required cores in MC_ME:&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;BR /&gt;&lt;BR /&gt;Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\S32K328.mac) completed.&lt;/P&gt;&lt;P&gt;PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. What could be the reason for this error?&lt;BR /&gt;2. How to fix this?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Oct 2025 07:09:58 GMT</pubDate>
    <dc:creator>sathishkumar_sunmugavel</dc:creator>
    <dc:date>2025-10-09T07:09:58Z</dc:date>
    <item>
      <title>S32K328 - Error while flashing ELF</title>
      <link>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2182789#M53341</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am getting below error randomly while flashing any elf to S32K328 using PE micro debugger.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58975" to 6224&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58980" to 7224&lt;BR /&gt;Telnet server running on 127.0.0.1:51794&lt;BR /&gt;Searching for Kernel Symbols...&lt;BR /&gt;rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472&lt;BR /&gt;_tx_thread_current_ptr not found. ThreadX analysis not enabled.&lt;BR /&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;BR /&gt;pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Unable to load libusb0.dll&lt;BR /&gt;Copyright 2023 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\win32\pegdbserver_console -device=NXP_S32K3xx_S32K328 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=50�&lt;BR /&gt;PEmicro Interface detected - Flash Version 11.52&lt;BR /&gt;&lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\nxp_s32k328_1x32x2036k_hse_disabled.arp&lt;BR /&gt;&lt;BR /&gt;Initializing.&lt;BR /&gt;Initialized.&lt;BR /&gt;&lt;BR /&gt;;version 1.00, 04/03/2023, Copyright 2023 P&amp;amp;E Microcomputer Systems, &lt;A href="http://www.pemicro.com" target="_blank"&gt;www.pemicro.com&lt;/A&gt; [S32K358_hse_disabled]&lt;BR /&gt;&lt;BR /&gt;;device nxp, s32k328, 1x32x2036k,desc=hse_disabled&lt;BR /&gt;&lt;BR /&gt;;begin_cs device=$00400000, length=$007F4000, ram=$20400000&lt;BR /&gt;&lt;BR /&gt;Loading programming algorithm ...&lt;BR /&gt;&lt;BR /&gt;WARNING - Selected .ARP file has been modified. CRC16 = $392A&lt;BR /&gt;&lt;BR /&gt;Error enabling module just selected.&lt;BR /&gt;Error loading programming algorithm - load aborted.&lt;BR /&gt;Error occured during Flash programming.&lt;BR /&gt;MemManage: The processor attempted a load or store at a location that does not permit the operation.&lt;BR /&gt;Possible MemManage fault location: 0x3540F461.&lt;BR /&gt;HardFault: A fault has been escalated to a hard fault.&lt;BR /&gt;Warning - device did not halt out of reset. Stopping core.&lt;BR /&gt;&lt;BR /&gt;Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\S32K328.mac) ...&lt;BR /&gt;REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).&lt;BR /&gt;REM Initialize RAM and DMA:&lt;BR /&gt;REM Initialize DMA TCD:&lt;BR /&gt;REM Copy valid executable code to RAM for each core to be used.&lt;BR /&gt;REM Enable required cores in MC_ME:&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;BR /&gt;Delaying for 20mS ...&lt;BR /&gt;Done.&lt;BR /&gt;&lt;BR /&gt;Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\S32K328.mac) completed.&lt;/P&gt;&lt;P&gt;PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. What could be the reason for this error?&lt;BR /&gt;2. How to fix this?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 07:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2182789#M53341</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-10-09T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K328 - Error while flashing ELF</title>
      <link>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2183608#M53387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248322"&gt;@sathishkumar_sunmugavel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have noticed these two lines in the log:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Unable to load libusb0.dll&lt;/LI&gt;
&lt;LI&gt;version 1.00, 04/03/2023, Copyright 2023 P&amp;amp;E Microcomputer Systems, &lt;A href="http://www.pemicro.com" target="_blank" rel="noopener"&gt;www.pemicro.com&lt;/A&gt; [S32K358_hse_disabled]&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This suggests that the P&amp;amp;E Micro driver might be outdated.&lt;/P&gt;
&lt;P&gt;Try updating the drivers in the S32DS IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few questions to help narrow down the issue:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Are you using an official NXP Evaluation Board (EVB)?&lt;/LI&gt;
&lt;LI&gt;Is &lt;STRONG&gt;HSE firmware&lt;/STRONG&gt; installed on the board?&lt;/LI&gt;
&lt;LI&gt;Do you have access to other boards or Multilink probes to test and rule out hardware-related issues?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 06:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2183608#M53387</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-10-10T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K328 - Error while flashing ELF</title>
      <link>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2183945#M53410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;The issue has been resolved — it was caused by improper connections on the JTAG pins.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 14:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K328-Error-while-flashing-ELF/m-p/2183945#M53410</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-10-10T14:51:39Z</dc:date>
    </item>
  </channel>
</rss>

