フィルターのクリア

Processor in the loop (PIL) using STM32F4, Timeout of 10 seconds error!!

1 回表示 (過去 30 日間)
ayachi amor
ayachi amor 2021 年 3 月 2 日
Hi
I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL.
During simulation I receive the following timeout error:
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.
Knowing that I'm using MATLAB 2018a, Is there any way to set more than 10 seconds for contection timeout in order to avoid this error?
Thanks in advance.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by