MBDT Configuration Reference

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

MBDT Configuration Reference

跳至解决方案
552 次查看
SecularC
Contributor I

I am trying to use a Simulink configuration reference between multiple models so that they use the same configuration and mex file. I am converting a working configuration into a configuration reference, selecting it in another model file, and activating the configuration reference. However, I get an "error in mask initialization" on a FlexCAN block and the following error messages:


Failure in getHardwareName(0) : Dot indexing is not supported for variables of this type.
Failure in get_mex_settings(0) : Output argument "mexFile" (and possibly others) not assigned a value in the execution with "mbd_imxrt.utils.get_mex_config_name" function.
Failure in get_peripheral_mex_settings(0) : Dot indexing is not supported for variables of this type.
Failure in create_func_param(0) : Output argument "periph_settings" (and possibly others) not assigned a value in the execution with "mbd_imxrt.utils.get_peripheral_mex_settings" function.

I am working with an RT1176 processor. I can see in my hardware settings that I am pointing at the mex file I want to use. Does MBDT support configuration references? 

0 项奖励
回复
1 解答
334 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

在原帖中查看解决方案

0 项奖励
回复
2 回复数
327 次查看
freya652rey
Contributor I

Hello,

Add the MBDT Configuration Block (the main one for the RT1176) to your top-level model, even though you are using a Configuration Reference. This should properly initialize the environment and provide the data the FlexCAN block needs. Ensure the Configuration Reference is Active in the model containing the FlexCAN block.

0 项奖励
回复
335 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

0 项奖励
回复