MATLAB Answers

PIL Communication Timeout for MPC57xx

2 views (last 30 days)
Yusuf Selim KARATAS
Yusuf Selim KARATAS on 12 Aug 2020
Edited: Yusuf Selim KARATAS on 14 Aug 2020
Dear All,
I am trying to use external mode for C2000 and PIL for MPC57xx.
for C2000 even sample project model gives communication error.
For MPC57xx, I can run simple models but when complexity of the model increases it gives error below. Also models that runs at SIL do not operate at PIL due to same reason below. What is the matter with them?
Why while same model runs at SIL but do not run at PIL.
How can we solve the problem?
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • The timeout of 10 seconds for receiving data from the rtiostream interface has been exceeded. There might be multiple reasons for this failure. You should: (a) Check that the target hardware configuration is correct, for example, check that the byte ordering is correct. (b) Confirm that the target is running. (c) Consider the possibility of application run-time failures (e.g. divide by zero exceptions, incorrect custom code integration, etc.). Note (c): To identify possible reasons for the run-time failure, consider using SIL, which supports signal handlers and debugging. If you cannot find a solution, consider using the method setTimeoutRecvSecs of rtw.connectivity.RtIOStreamHostCommunicator to increase the timeout value.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by