<?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 Error loading .ARP file - Error loading programming algorithm - load aborted. in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Error-loading-ARP-file-Error-loading-programming-algorithm-load/m-p/2202023#M54330</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hello Everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was experimenting with clock initialization on the &lt;STRONG&gt;S32K328 MCU&lt;/STRONG&gt; during early boot-up (before entering main).&lt;BR /&gt;Using &lt;STRONG&gt;S32 Design Studio&lt;/STRONG&gt;, I generated the clock configuration code and invoked the Clock_Ip_Init() API directly in the startup sequence.&lt;/P&gt;&lt;P&gt;After flashing this ELF, the MCU appears to be stuck — it no longer enters the &lt;STRONG&gt;RUN&lt;/STRONG&gt; state, and I’m unable to re-flash the device. I am getting below error when I try to flash some different working elf&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61375" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61379" to 7224
Telnet server running on 127.0.0.1:51794
Command Line Parameters : 
  -device=NXP_S32K3xx_S32K358 
  -startserver 
  -singlesession 
  -serverport=7224 
  -gdbmiport=6224 
  -interface=USBMULTILINK 
  -speed=5000 
  -port=USB1 
  -streamingport=10224 
  -configfile=C:/NXP/workspace/MBCC_B0/.metadata/.plugins/com.pemicro.debug.gdbjtag.pne/config.ini 
PEmicro Interface detected - Flash Version 11.52 
 
CMD&amp;gt;RE
 
Initializing.
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
Target has been RESET and is active.
CMD&amp;gt;CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp
 
Initializing.
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
Initialized.
 
;version 1.02, 07/25/2025, Copyright 2025 P&amp;amp;E Microcomputer Systems, www.pemicro.com [S32K358_hse_disabled]
 
;device nxp, s32k358, 1x32x2036k,desc=hse_disabled  
 
;begin_cs device=$00400000, length=$007F4000, ram=$20400000
 
Loading programming algorithm ... 
Error loading .ARP file : C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp at address 20400000 
Error loading programming algorithm - load aborted. 
Error occured during Flash programming. 
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
 
Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) ...  
REM Enable clocks for selected cores in MC_ME module                                                                                                                                                     
Delaying for 200mS ... 
Done. 
REM Initialize RAM and DMA:                                                                                                                                                                              
REM Initialize DMA TCD:                                                                                                                                                                                  
REM Copy valid executable code to RAM for each core to be used.                                                                                                                                          
REM Enable required cores in MC_ME:                                                                                                                                                                      
Delaying for 20mS ... 
Done. 
Delaying for 20mS ... 
Done. 
 
Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) completed. 
 

PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

PE-ERROR: Error downloading to the device. Terminating debug session.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61375" from 6224
PE-ERROR: Error : Attempted to send response but connection already closed.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61379" from 7224
INFO: DAP IDCODE = 0x6BA02477 
Target Disconnected.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I suspect that the clock may not have been enabled or configured correctly during initialization. However, there could be other underlying issues as well.&lt;/P&gt;&lt;P&gt;Could you please guide me in the right direction to debug this issue and recover the board?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 17:25:26 GMT</pubDate>
    <dc:creator>sathishkumar_sunmugavel</dc:creator>
    <dc:date>2025-11-10T17:25:26Z</dc:date>
    <item>
      <title>Error loading .ARP file - Error loading programming algorithm - load aborted.</title>
      <link>https://community.nxp.com/t5/S32K/Error-loading-ARP-file-Error-loading-programming-algorithm-load/m-p/2202023#M54330</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello Everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was experimenting with clock initialization on the &lt;STRONG&gt;S32K328 MCU&lt;/STRONG&gt; during early boot-up (before entering main).&lt;BR /&gt;Using &lt;STRONG&gt;S32 Design Studio&lt;/STRONG&gt;, I generated the clock configuration code and invoked the Clock_Ip_Init() API directly in the startup sequence.&lt;/P&gt;&lt;P&gt;After flashing this ELF, the MCU appears to be stuck — it no longer enters the &lt;STRONG&gt;RUN&lt;/STRONG&gt; state, and I’m unable to re-flash the device. I am getting below error when I try to flash some different working elf&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61375" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61379" to 7224
Telnet server running on 127.0.0.1:51794
Command Line Parameters : 
  -device=NXP_S32K3xx_S32K358 
  -startserver 
  -singlesession 
  -serverport=7224 
  -gdbmiport=6224 
  -interface=USBMULTILINK 
  -speed=5000 
  -port=USB1 
  -streamingport=10224 
  -configfile=C:/NXP/workspace/MBCC_B0/.metadata/.plugins/com.pemicro.debug.gdbjtag.pne/config.ini 
PEmicro Interface detected - Flash Version 11.52 
 
CMD&amp;gt;RE
 
Initializing.
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
Target has been RESET and is active.
CMD&amp;gt;CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp
 
Initializing.
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
Initialized.
 
;version 1.02, 07/25/2025, Copyright 2025 P&amp;amp;E Microcomputer Systems, www.pemicro.com [S32K358_hse_disabled]
 
;device nxp, s32k358, 1x32x2036k,desc=hse_disabled  
 
;begin_cs device=$00400000, length=$007F4000, ram=$20400000
 
Loading programming algorithm ... 
Error loading .ARP file : C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp at address 20400000 
Error loading programming algorithm - load aborted. 
Error occured during Flash programming. 
INFO: DAP IDCODE = 0x6BA02477 
INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 
 
Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) ...  
REM Enable clocks for selected cores in MC_ME module                                                                                                                                                     
Delaying for 200mS ... 
Done. 
REM Initialize RAM and DMA:                                                                                                                                                                              
REM Initialize DMA TCD:                                                                                                                                                                                  
REM Copy valid executable code to RAM for each core to be used.                                                                                                                                          
REM Enable required cores in MC_ME:                                                                                                                                                                      
Delaying for 20mS ... 
Done. 
Delaying for 20mS ... 
Done. 
 
Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) completed. 
 

PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

PE-ERROR: Error downloading to the device. Terminating debug session.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61375" from 6224
PE-ERROR: Error : Attempted to send response but connection already closed.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61379" from 7224
INFO: DAP IDCODE = 0x6BA02477 
Target Disconnected.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I suspect that the clock may not have been enabled or configured correctly during initialization. However, there could be other underlying issues as well.&lt;/P&gt;&lt;P&gt;Could you please guide me in the right direction to debug this issue and recover the board?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 17:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Error-loading-ARP-file-Error-loading-programming-algorithm-load/m-p/2202023#M54330</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-11-10T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading .ARP file - Error loading programming algorithm - load aborted.</title>
      <link>https://community.nxp.com/t5/S32K/Error-loading-ARP-file-Error-loading-programming-algorithm-load/m-p/2202468#M54357</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;&lt;BR /&gt;This issue is resolved by using&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt; Segger - J-Link&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;debugger. After that, flashing is working with PE Micro as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Still root cause for this issue is not identified. Please let me know why this kind of issues are observed randomly.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 07:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Error-loading-ARP-file-Error-loading-programming-algorithm-load/m-p/2202468#M54357</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-11-11T07:11:56Z</dc:date>
    </item>
  </channel>
</rss>

