Hi Everyone,
I am getting below error randomly while flashing any elf to S32K328 using PE micro debugger.
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58975" to 6224
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "58980" to 7224
Telnet server running on 127.0.0.1:51794
Searching for Kernel Symbols...
rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472
_tx_thread_current_ptr not found. ThreadX analysis not enabled.
rsp_qC - qSymbol: 707843757272656E74544342
pxCurrentTCB not found. FreeRTOS analysis not enabled.
Unable to load libusb0.dll
Copyright 2023 P&E Microcomputer Systems,Inc.
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�
PEmicro Interface detected - Flash Version 11.52
CMD>RE
Initializing.
Target has been RESET and is active.
CMD>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
Initializing.
Initialized.
;version 1.00, 04/03/2023, Copyright 2023 P&E Microcomputer Systems, www.pemicro.com [S32K358_hse_disabled]
;device nxp, s32k328, 1x32x2036k,desc=hse_disabled
;begin_cs device=$00400000, length=$007F4000, ram=$20400000
Loading programming algorithm ...
WARNING - Selected .ARP file has been modified. CRC16 = $392A
Error enabling module just selected.
Error loading programming algorithm - load aborted.
Error occured during Flash programming.
MemManage: The processor attempted a load or store at a location that does not permit the operation.
Possible MemManage fault location: 0x3540F461.
HardFault: A fault has been escalated to a hard fault.
Warning - device did not halt out of reset. Stopping core.
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) ...
REM Enable clocks for selected cores in MC_ME module (the sequence below enables all clocks).
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_5.7.5.202311071732\supportFiles_ARM\NXP\S32K3xx\S32K328.mac) completed.
PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.
1. What could be the reason for this error?
2. How to fix this?
Best Regards,
Sathish.