MBD tool- PIL error MPC5744P

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MBD tool- PIL error MPC5744P

ソリューションへジャンプ
2,443件の閲覧回数
henryex2009
Contributor I

Hi,everyone:

when I run the PIL example(sim_pil_top_AMMCLIB_mpc574x),a error has occurred:

An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:

C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>set MATLAB=D:\MATLAB\R2020a

C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>"D:\MATLAB\R2020a\bin\win64\gmake" -f sim_pil_tg_AMMCLIB_mpc574x.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING NOT_PEDANTIC=1 OPTS="-DTID01EQ=0 -DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T"
sim_pil_tg_AMMCLIB_mpc574x.mk:722: *** multiple target patterns. Stop.

My board is MPC5744P RevE, have you ever had a similar problem,how to solve it?

Thank you

0 件の賞賛
返信
1 解決策
2,322件の閲覧回数
stefancinipeanu
NXP Employee
NXP Employee

Hi, @henryex2009 

The problem is the space character in MATLAB Add-Ons in toolbox installation path:

C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx

To fix it, you can try the following approach:

  1. Close MATLAB
  2. Rename the path in C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB-Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx    Notice the change from MATLAB Add-Ons to MATLAB-Add-Ons
  3. Open MATLAB and go to Preferences button. 
  4. Change the MATLAB Add-Ons folder to the new renamed path: C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB-Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx

 stefancinipeanu_1-1652094330561.png

       5.Restart MATLAB

Let me know if this worked.

Best regards,

Stefan.

元の投稿で解決策を見る

0 件の賞賛
返信
8 返答(返信)
2,372件の閲覧回数
stefancinipeanu
NXP Employee
NXP Employee

Hello, @henryex2009 

This appears to be a MATLAB bug. To fix this problem, try to reinstall MATLAB in a location that has no spaces in the path.

Best regards,

Stefan.

0 件の賞賛
返信
2,356件の閲覧回数
henryex2009
Contributor I

Hello,@stefancinipeanu

My matlab is installed in "D:\MATLAB\R2020a",is this correct?

0 件の賞賛
返信
2,333件の閲覧回数
stefancinipeanu
NXP Employee
NXP Employee

Hello, @henryex2009 

It looks like MATLAB is installed correctly. Could you check the toolbox installation path?

0 件の賞賛
返信
2,327件の閲覧回数
henryex2009
Contributor I

Hi,@stefancinipeanu

My toolbox is installed at "C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx".

0 件の賞賛
返信
2,323件の閲覧回数
stefancinipeanu
NXP Employee
NXP Employee

Hi, @henryex2009 

The problem is the space character in MATLAB Add-Ons in toolbox installation path:

C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx

To fix it, you can try the following approach:

  1. Close MATLAB
  2. Rename the path in C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB-Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx    Notice the change from MATLAB Add-Ons to MATLAB-Add-Ons
  3. Open MATLAB and go to Preferences button. 
  4. Change the MATLAB Add-Ons folder to the new renamed path: C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB-Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx

 stefancinipeanu_1-1652094330561.png

       5.Restart MATLAB

Let me know if this worked.

Best regards,

Stefan.

0 件の賞賛
返信
2,238件の閲覧回数
henryex2009
Contributor I

Hi, Stefan,

Yes, the PIL model is running successfully, Thank you for your help.

Best regards,

Henry

0 件の賞賛
返信
2,419件の閲覧回数
Edward69
Contributor I

Hi,everyone:

when I run the PIL example(sim_pil_top_AMMCLIB_mpc574x),a error has occurred:

An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:

C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>set MATLAB=D:\MATLAB\R2020a

C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>"D:\MATLAB\R2020a\bin\win64\gmake" -f sim_pil_tg_AMMCLIB_mpc574x.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING NOT_PEDANTIC=1 OPTS="-DTID01EQ=0 -DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T"
sim_pil_tg_AMMCLIB_mpc574x.mk:722: *** multiple target patterns. Stop.

My board is MPC5744P RevE, have you ever had a similar problem,how to solve it?

Thank you

I was facing the same, Did you found any solution for that?

0 件の賞賛
返信
2,391件の閲覧回数
henryex2009
Contributor I

Hi,the problem is still unsolved.

0 件の賞賛
返信