Problem with freemaster Motor control example mbdt code S32K396

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

Problem with freemaster Motor control example mbdt code S32K396

ソリューションへジャンプ
653件の閲覧回数
agus_idiada
Contributor III

Hello,

I uploaded with simulink the motor control example code into the S32K396, version S32K396_MBDT_BASED_MC_0_9_0.

The code upload without problems but then freemaster is not working. I get the error:
"Can not detect the board information. Error code: 0x80000101 (response timeout)".

I upload another stable project that I had and freemaster is working, so I conclude my setup is working fine (connection cable, COM port, baudrate config).

What is then wrong with the example project?

Thanks,

Agustin.

@Irina_Costachescu 

0 件の賞賛
返信
1 解決策
401件の閲覧回数
agus_idiada
Contributor III

I manage to make it works after changing the procedure in the provided doc.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
402件の閲覧回数
agus_idiada
Contributor III

I manage to make it works after changing the procedure in the provided doc.

0 件の賞賛
返信
573件の閲覧回数
agus_idiada
Contributor III

So I checked the configuration a BGA-DC1 board that is running the freemaster and I found only one difference (The PortPin Level value). Once changed it is still freemaster not working.

0 件の賞賛
返信
555件の閲覧回数
agus_idiada
Contributor III

Ok, so now it is working but some variables are unstable. Why do I get unknown mesagges?

agus_idiada_1-1729070551307.png

 

 

タグ(1)
0 件の賞賛
返信
521件の閲覧回数
Irina_Costachescu
NXP Employee
NXP Employee

Hello @agus_idiada 

Could you please try the following:

1. Reselect the .elf file from the Project -> Options menu? Under the Default symbol file, please make sure that you have the latest successfully generated executable for your application.

Irina_Costachescu_0-1729177967645.png

2. If you right click on the MBD State variable, you should be able to edit its properties. Could you please check that the Address points to the right structure generated from your model? 

Irina_Costachescu_1-1729178030895.png

Also, please note that the MBD State variable displays the value of the AppStates structure, which is defined as an Enumerated Data Type inside the model's .sldd. Hence, since it seems that the values of this enumeration are not recognized by your FreeMASTER project, could you please check that this variable is present inside the Simulink Model Explorer? Please see the attached screenshot below:

Irina_Costachescu_3-1729178085721.png

Moreover, could you please provide additional details on the current setup and steps that you have followed for being able to successfully build the model?

Thank you,

Irina

 

587件の閲覧回数
agus_idiada
Contributor III

this is the error message I have

agus_idiada_0-1728996655108.png

 

0 件の賞賛
返信
605件の閲覧回数
agus_idiada
Contributor III

Is the example compatible with the board S32K396-BGA-DC1?

0 件の賞賛
返信