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
解決済! 解決策の投稿を見る。
I manage to make it works after changing the procedure in the provided doc.
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.
Ok, so now it is working but some variables are unstable. Why do I get unknown mesagges?
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.
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?
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:
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
this is the error message I have
Is the example compatible with the board S32K396-BGA-DC1?