MBDT Configuration Reference

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MBDT Configuration Reference

ソリューションへジャンプ
551件の閲覧回数
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 解決策
333件の閲覧回数
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
326件の閲覧回数
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 件の賞賛
返信
334件の閲覧回数
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately, the IMXRT toolbox do not support reference configurations. 

 

Best regards,

Sorin Bancila

0 件の賞賛
返信