- https://www.mathworks.com/matlabcentral/answers/1805400-why-am-i-getting-a-xcp-internal-error-timeout-expired-error-during-monitor-and-tune-for-ti-f280
- https://www.mathworks.com/matlabcentral/answers/1920075-error-could-not-connect-to-target-application-xcp-internal-error-timeout-expired-in-response-to
- https://www.mathworks.com/matlabcentral/answers/2048172-why-am-i-receiving-an-xcp-timeout-error-when-starting-external-mode-on-an-stm32-board-using-the-emb
Facing the issue XCP internal error: timeout expired
5 次查看(过去 30 天)
显示 更早的评论
Top model targets built: Model Action Rebuild Reason ===================================================================== blinky Code generated and compiled. Incremental checksum changed. 1 of 1 models built (0 models already up to date) Build duration: 0h 1m 31.43s
Selected serial baud value (9600) can introduce a significant delay in target response when transmission bandwidth is saturated. Consider using a higher baud value.
Ungroup 2 similar
Component:Simulink | Category:Model warning
action: EXT_INIT Creating Target Handler (XCP on Serial)... Build directory: C:\files\TI-Simulink\blinky_ert_rtw Serial Port Name: COM4 Baud Rate: 9600 action: EXT_CONNECT Connecting to the target...
External Mode Open Protocol Connect command failed
Caused by:
- Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
Component:Simulink | Category:Model error
------------------------------------------------
I'm using F28P65x board from Texas Instruments and im trying to build a program. However, I'm facing the above mentioned timeout error. I have tried different osckclock frequencies and baud rates but getting same results. Please guide me on this.
2 个评论
Saurabh
2024-11-15
A screenshot of the hardware implementation would be greatly appreciated. Additionally, you might find these post discussing a similar issue helpful:
Aditya Padmanabha
2024-11-19
The baudrate of 9600 is very low. Can you check and increase the baudrate to 115200 atleast and try monitor & tune? Also it would be good to verify if the serial communication is working by trying out this example https://www.mathworks.com/help/ti-c2000/ug/serial-communication-example.html. That atleast helps to narrow down the problem.
Thanks,
Aditya
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Supported Hardware 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!