Error: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
조회 수: 165 (최근 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1479711/image.png)
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!