Error: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
199 views (last 30 days)
Show older comments
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 Comments
Answers (1)
akshatsood
on 13 Oct 2023
Edited: akshatsood
on 13 Oct 2023
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!