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
已解决! 转到解答。
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