
Hello nxp team,
We are facing this issue while deploying the code using simulink (mbdt)
P&E GDB Server for Arm(R) devices, Version 9.01.00.00
Copyright 2018, P&E Microcomputer Systems Inc, All rights reserved
Loading library C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\unit_ngs_arm_internal.dll ... Done.
Command line arguments: -device=NXP_S32K3xx_S32K344 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=USB1
Device selected is NXP_S32K3xx_S32K344
User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1
Connecting to target.
Unable to load libusb0.dll
PEmicro Interface detected - Flash Version 10.98
Starting reset script (C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ...o
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.
Reset script (C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed.
Device is NXP_S32K3xx_S32K344.
Mode is In-Circuit Debug.
(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
API version is 101
TARGET XML PATH is C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\target_v7m_vfp.xml
Server 1 running on 127.0.0.1:7224
Server 2 running on 127.0.0.1:7226
Server 3 running on 127.0.0.1:7228
Server 4 running on 127.0.0.1:7230
Server 5 running on 127.0.0.1:7232
Server 6 running on 127.0.0.1:7234
Server 7 running on 127.0.0.1:7236
Server 8 running on 127.0.0.1:7238
Server 9 running on 127.0.0.1:7240
Server 10 running on 127.0.0.1:7242
Server 11 running on 127.0.0.1:6224
All Servers Running
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "62967" to 7224
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:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\pegdbserver_console.exe" -device="NXP_S32K3xx_S32K344" -star?
PEmicro Interface detected - Flash Version 10.98
CMD>RE
Initializing.
Target has been RESET and is active.
CMD>CM C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\nxp_s32k344_1x32x1012k_hse_disab
.ARP file does not exist.
Error loading programming algorithm - load aborted.
Error occured during Flash programming.
Starting reset script (C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ...o
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.
Reset script (C:\Users\Matlab(NTL)\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.alpha_5.4.7.202301252033\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed.
PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.
Kindly help us to resolve this issue.
Thanks in advance
Regards,
Esakki