Error: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
224 次查看(过去 30 天)
显示 更早的评论
I am using F280039C with 2023a version of MATLAB. While using the 'Monitor and Tune' option, I am able to flash the code but still seeing this error:
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
I have referred to the solution here but of no help: https://in.mathworks.com/matlabcentral/answers/1628360-why-am-i-unable-to-connect-to-target-the-model-throws-an-error-external-mode-open-protocol-connec
Attached are the hardware settings. I have checked the COM port which is selected as the Application / User UART. Tried with the Data port as well, but didn't help.
Is there any specific setting to be done for SCIA to make this functional? The current baud config is 115200.
Thanks,
Aditya
0 个评论
回答(1 个)
akshatsood
2023-10-13
编辑:akshatsood
2023-10-13
Hi Aditya,
I understand that you are encountering an error while using F280039C with MATLAB R2023a which is as follows
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
This error has been extensively discussed in the community, and there have been numerous proposed workarounds. I recommend exploring the following discussions where you can find valuable insights and potential solutions.
I hope this helps.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!