MCD Toolbox for Kinetis V5 and PIL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCD Toolbox for Kinetis V5 and PIL

1,473 次查看
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

标记 (1)
0 项奖励
回复
2 回复数

1,348 次查看
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 项奖励
回复

1,348 次查看
Daniel_Popa
NXP Employee
NXP Employee

paulvlase

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

0 项奖励
回复