AMMCLIB.lib: error adding symbols: file format not recognized

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AMMCLIB.lib: error adding symbols: file format not recognized

927 Views
sh_dhanasekaran
Contributor II

Hi,

I am trying to run a simple PiL test provided under NXP examples: s32k3xx_pil_harness_s322ct in MATLAB 2022b. I have been trying this for quiet some time but I end up getting some errors. So, the most recent one is 

1) When using 'Run Verification' under SIL/PIL manager I end up getting an error message saying: 'An error occurred while calling into the SIL or PIL target connectivity implementation'

If I look at the error it says 

AMMCLIB.lib: error adding symbols: file format not recognized

collect2.exe: error: ld returned 1 exit status gmake: *** [s32k3xx_pil_target_s32ct.elf] Error 1 C:\AddOns2022b\Toolboxes\NXP_MBDToolbox_S32K3xx\AMMCLIB_s32k3xx\slprj\ert\s32k3xx_pil_target_s32ct\pil>echo The make command returned an error of 2 The make command returned an error of 2 C:\AddOns2022b\Toolboxes\NXP_MBDToolbox_S32K3xx\AMMCLIB_s32k3xx\slprj\ert\s32k3xx_pil_target_s32ct\pil>exit /B 1

2) When trying to use Build, Deploy & Start under HARDWARE. I end up having a new simulink window with a PiL block as shown in image below

sh_dhanasekaran_0-1682410023702.png

 

3) Instead, If I use Monitor & Tune under Hardware then there is a new window pop-up and there is also a error message under Diagnostic Viewer stating 'cannot open output file \pil\MBDTBX~1\MCLIB_~1\lib\vc_x64\s32k3xx_pil_harness_s32ct_pbs.mexw64:'
 
sh_dhanasekaran_1-1682410632898.png

 

So, will be helpful if someone can help me with this. Thanking you in advance
 
0 Kudos
Reply
0 Replies