Error: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
178 ビュー (過去 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!