MCD Toolbox for Kinetis V5 and PIL

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

MCD Toolbox for Kinetis V5 and PIL

722 Views
matteo_vit1
Contributor I

Hi,
I am using Matlab 2018a and MCD Toolbox for Kinetis V5 (latest) and when I try to run the PIL example (kv5xf_sim_pil_test), I get this error:

"Detected recursive call to slbuild, which might indicate invalid simultaneous model builds. If only one model build was in progress, and if you previously used dbquit while in the MATLAB debugger or pressed Ctrl-C during the build process, please restart the model build."

The sequence of operations is:
- Open the model kv5xf_sim_pil_test.mdl
- "Simulation->Mode->Processor-in-the-Loop (PIL)"
- "Tools->Freescale Motor Control Development Toolbox for MKV5xF->To PIL mode on MKV5xF"
- simulate

I have seen a similar error here:
"https://community.nxp.com/message/1038298?commentID=1038298#comment-1038298"

But the files seem specific for the MCD Toolbox for another microcontroller.

Is this due different Matlab version? I think the supported version is 2015B.

Thanks,

Matteo

Tags (1)
0 Kudos
2 Replies

597 Views
paulvlase
NXP Employee
NXP Employee

Hi matteo.vit@starwaredesign.com‌,

Please revert the Simulation Mode to Normal and try again.

When you are running a Model block PIL simulation (using a PIL simulation referenced model) you need to use the Normal simulation mode. You can read more about the PIL simulation modes supported by Simulink here [1], [2], [3].

0 Kudos

597 Views
dumitru-daniel_
NXP Employee
NXP Employee

paulvlase

Please have a look. Is this similar with the other PIL issues we have on KV ?

0 Kudos