Changing Values Inside the Blocks in MBDT Doesn't Work

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

Changing Values Inside the Blocks in MBDT Doesn't Work

727件の閲覧回数
simon98
Contributor III

Hi, i have encoutered this issue when i try to change the value inside the blocks, for exaple Dio blocks:

if i change the channel to flip (for example  from the default green to red) and build, after the application is flashed, the green led still blinks instead of the red one.

Also in Can blocks, if i change the CanController Mode in the block it doesn't change from the default value.

Only if i modify the model then the changes inside the blocks became effective: for example by adding a block, commenting others...

I don't know why this behavior, could someone tell me how to fix this?

I'm using the S32K358EVB-Q289.

 

Thanks

Simon

タグ(4)
0 件の賞賛
返信
1 返信

616件の閲覧回数
robertv
NXP Employee
NXP Employee

Hello @simon98 ,

I can confirm that the behavior you are describing is indeed present in the current Model-Based Design Toolbox version. This is on our list of future improvements and we hope to be able to improve this specific process in the next versions.

For now, the best course of action in your specific use case would be to delete the "modelName_ert_rtw" folder and the "modelName.slxc" file before building the model. Doing so will trigger the code generation and update the executable based on the changes you have made inside the Model-Based Design blocks.

Regards,
Robert V

0 件の賞賛
返信