Hello everyone and Lubin
I'm having a problem to run a PIL with the MPLAB Simulink Blockset.
I am trying to do a verification test for a filter through a PIL. Generally speaking, I'm trying to do a similar PIL example available to the MPLAB Blockset, however using the dsPIC33CK Curiosity development kit Board.
The target dsPIC is the dsPIC33CK256MP508 with the dsPIC33CK Curiosity development Board kit. My current goal is to learn how to use the MPLAB Simulink package support to correctly perform a PIL in the future.
I read and tried to follow the steps in the topic that ASabir and Lubin implemented DCM Control project with the PIL feature “On Processor in the Loop (PIL) using the Blockset
”. As suggested by Lubin in the topic, I followed the basic instructions for configuring the model.
I can't do the simulation and I find the same error message as Coriolis_effetc. Maybe my problem is the same as Coriolis_effetc... However, I could also notice that the “Enter Libraries” and 3Header Include Path” fields in the Configuration Parameters=>dsPIC options are not filled in like the example provided by the blockset. ### BUILD_MODE model_reference ### Creating library ... "C:/PROGRA~1/MICROC~1/xc16/v1.60/bin/xc16-ar" -r -omf=elf rtwshared_lib.a mul_s32_hiSR.o mul_wide_s32.o C:\PROGRA~1\MICROC~1\xc16\v1.60\bin\bin/elf-ar.exe: mul_s32_hiSR.o: No such file or directory gmake: *** [rtwshared_lib.a] Error 255 Error(s) encountered while building "rtwshared"
Does MPLAB Simulink blockset support PIL for the CK family dsPIC or the problem is compatibility of MPLAB Blockset with the version of Matlab?
For information, I am using MATLAB 2020a et version 3.47 of MPLAB Device Blocks for Simulink.
Thank you very much for your attention!