Hi,
This is Ozan. I am using S32K144Q100 EVB and MBDT v 4.2. I want to try processor in the loop (pil) example of s32 library. I used sim_pil_top_AMMCLIB_s32k1xx example model but I encounter with a problem. The print screen of error and couple of log line are provided below. I could not understand the reason and how can I solve this problem and work on pil examples?
Solved! Go to Solution.
Hi oeren5@ford.com.tr,
As constantinrazvan.chivu already pointed out, the lcc compiler shipped with Matlab fails to build models that contain AMMCLIB blocks because it doesn't support latest C language standards. To run PIL simulations you need to install the MingW compiler from the Matlab Add-On Exlorer.
Let us know if installing MingW compiler fixed your issues.
Regards,
Paul
Hi oeren5@ford.com.tr,
As constantinrazvan.chivu already pointed out, the lcc compiler shipped with Matlab fails to build models that contain AMMCLIB blocks because it doesn't support latest C language standards. To run PIL simulations you need to install the MingW compiler from the Matlab Add-On Exlorer.
Let us know if installing MingW compiler fixed your issues.
Regards,
Paul
Hi paulvlase
I install the MingW compiler from adds-on. But this time I encounter with different error and the model still does not work. I am using Matlab 2020a and mbdt v4.2. Also I changed the s32k144 board boot-loader from openSDA to RappID thus I select serial mode and boot assist module (BAM). You can find the error code and relevant information as follow. Any will will be appreciated thanks in advance.
Hello oeren5@ford.com.tr ,
I think the issue here is related to the compiler you are using: lcc. To fix this you should install MS Visual Studio or mingw.
paulvlase can give you more details about it.
Kind regards,
Razvan.