Storage Classes for MBDT and Freemaster

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

Storage Classes for MBDT and Freemaster

1,356件の閲覧回数
Sam_ECU
Contributor V

Hello @Irina_Costachescu 

Building of the topic here:

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32k344-Simulink-program-variable-issue...

 

What's the recommendation for MBDT for the Signal Classes to enable tuning for Outputs, Parameters and Lookup Tables?

 

Regards,

Sam

0 件の賞賛
返信
3 返答(返信)

1,326件の閲覧回数
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Sam_ECU 

Could you please provide us more details about the use case you are trying to achieve and the encountered issues (if any)?

In this manner, we could provide specific guidance to address your scenario.

Thanks,

Irina

0 件の賞賛
返信

1,297件の閲覧回数
Sam_ECU
Contributor V

Hallo @Irina_Costachescu 

Step 1:

Tuning of the variables in Freemaster, but so that the signal names, parameters and lookup table names are as defined in Simulink (eg. Label, rather then Projectname.P_Label).

Incorrect:

Sam_ECU_0-1716718831584.png

 

Step 2:

Generation of A2L file from simulink using the ASAP2 Interface with MBDT for iMXRT to allow tuning with external software such as INCA (with correct definition of addresses etc.).

Sam_ECU_1-1716718915039.png

Sam_ECU_2-1716719039565.png

 

Regards,

Sam

0 件の賞賛
返信

1,251件の閲覧回数
Sam_ECU
Contributor V

Hello @Irina_Costachescu ,

For Step 1:

I've had good results with:

  • Parameters / Lookup Tables: Exported_Global
  • Signals: Volatile

Is there any reasons not to use these settings?

 

For Step 2:

The function in Matlab ">> rtw.asap2SetAddress('Project_Name.a2l','Project_Name.elf')" updates the generated A2L file from Embedded Coder with the Addresses:

Sam_ECU_0-1717427958697.png

 

0 件の賞賛
返信