MBDT Configuration Reference

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

MBDT Configuration Reference

跳至解决方案
569 次查看
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 解答
351 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

在原帖中查看解决方案

0 项奖励
回复
2 回复数
344 次查看
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 项奖励
回复
352 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2195149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMBDT%20%E9%85%8D%E7%BD%AE%E5%8F%82%E8%80%83%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E5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8%B4%A5%EF%BC%9A%E5%9C%A8%E6%89%A7%E8%A1%8C%22mbd_imxrt.utils.get_mex_config_name%20%E6%97%B6%EF%BC%8C%E8%BE%93%E5%87%BA%E5%8F%82%E6%95%B0%22mexFile%22%20%EF%BC%88%E5%8F%AF%E8%83%BD%E8%BF%98%E6%9C%89%E5%85%B6%E4%BB%96%E5%8F%82%E6%95%B0%EF%BC%89%E6%9C%AA%E8%B5%8B%E5%80%BC%E3%80%82%22%E5%8A%9F%E8%83%BD%E3%80%82%3CBR%20%2F%3Eget_peripheral_mex_settings(0)%20%E5%A4%B1%E8%B4%A5%EF%BC%9A%E6%AD%A4%E7%B1%BB%E5%9E%8B%E5%8F%98%E9%87%8F%E4%B8%8D%E6%94%AF%E6%8C%81%E7%82%B9%E7%B4%A2%E5%BC%95%E3%80%82%3CBR%20%2F%3Ecreate_func_param(0)%20%E5%A4%B1%E8%B4%A5%EF%BC%9A%22%20%E5%9C%A8%E4%BD%BF%E7%94%A8%22mbd_imxrt.utils.get_peripheral_mex_settings%20%E6%89%A7%E8%A1%8C%E8%BF%87%E7%A8%8B%E4%B8%AD%EF%BC%8C%E8%BE%93%E5%87%BA%E5%8F%82%E6%95%B0%22periph_settings%EF%BC%88%E5%8F%AF%E8%83%BD%E8%BF%98%E6%9C%89%E5%85%B6%E4%BB%96%E5%8F%82%E6%95%B0%EF%BC%89%E6%9C%AA%E8%B5%8B%E5%80%BC%E3%80%82%22%E5%8A%9F%E8%83%BD%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%20RT1176%20%E5%A4%84%E7%90%86%E5%99%A8%E3%80%82%E6%88%91%E5%8F%AF%E4%BB%A5%E5%9C%A8%E7%A1%AC%E4%BB%B6%E8%AE%BE%E7%BD%AE%E4%B8%AD%E7%9C%8B%E5%88%B0%EF%BC%8C%E6%88%91%E6%8C%87%E5%90%91%E4%BA%86%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%20mex%20%E6%96%87%E4%BB%B6%E3%80%82MBDT%20%E6%94%AF%E6%8C%81%E9%85%8D%E7%BD%AE%E5%8F%82%E8%80%83%E5%90%97%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBDT%20Configuration%20Reference%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%3CP%3E%E5%8D%B3%E4%BD%BF%E6%82%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E9%85%8D%E7%BD%AE%E5%BC%95%E7%94%A8%EF%BC%8C%E4%B9%9F%E5%8F%AF%E4%BB%A5%E5%B0%86%20MBDT%20%E9%85%8D%E7%BD%AE%E6%A8%A1%E5%9D%97%EF%BC%88RT1176%20%E7%9A%84%E4%B8%BB%E8%A6%81%E6%A8%A1%E5%9D%97%EF%BC%89%E6%B7%BB%E5%8A%A0%E5%88%B0%E6%82%A8%E7%9A%84%E9%A1%B6%E7%BA%A7%E6%A8%A1%E5%9E%8B%E4%B8%AD%E3%80%82%E8%BF%99%E5%B0%86%E6%AD%A3%E7%A1%AE%E5%88%9D%E5%A7%8B%E5%8C%96%E7%8E%AF%E5%A2%83%E5%B9%B6%E6%8F%90%E4%BE%9B%20FlexCAN%20%E5%9D%97%E6%89%80%E9%9C%80%E7%9A%84%E6%95%B0%E6%8D%AE%E3%80%82%20%E7%A1%AE%E4%BF%9D%E5%9C%A8%E5%8C%85%E5%90%AB%20FlexCAN%20%E6%A8%A1%E5%9D%97%E7%9A%84%E6%A8%A1%E5%9E%8B%E4%B8%AD%E9%85%8D%E7%BD%AE%E5%8F%82%E8%80%83%E5%A4%84%E4%BA%8E%E6%B4%BB%E5%8A%A8%E7%8A%B6%E6%80%81%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202625%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBDT%20Configuration%20Reference%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202625%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3C%2FP%3E%0A%3CP%3E%E4%B8%8D%E5%B9%B8%E7%9A%84%E6%98%AF%EF%BC%8CIMXRT%20%E5%B7%A5%E5%85%B7%E7%AE%B1%E4%B8%8D%E6%94%AF%E6%8C%81%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FP%3E%0A%3CP%3E%E7%B4%A2%E6%9E%97-%E7%8F%AD%E5%A5%87%E6%8B%89%3C%2FP%3E%3C%2FLINGO-BODY%3E