LAUNCHXL-F280049C: External mode for debugging
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I can build and deploy any program on the board (LAUNCHXL-F280049C). It works correctly.
For debugging purpose, I wanted to connect the board with my computer with the external mode. I have this error bellow.
I have try differents things:
- In configuration parameter/hardware implementation/target hardware resources/external mode => try both COM port (UART and dataport)
- Different switchs settings tried
- S6 : 0 & S8 : 0
- S3.1 : 1 & S4 : 1 & S8 : 1
__________________________________________________________________________________________
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

2 commentaires
Sumukh
le 21 Jan 2025
Could you please share the Simulink model here to try to reproduce the issue?
Please note that if there is any antivirus software or firewall in the system, this might block the UDP traffic necessary for "XCP on Serial" mode. The software must be configured to allow traffic from a specific IP port number.
Réponses (1)
Sumukh
le 21 Jan 2025
I am able to reproduce the issue in MATLAB R2023b with the given model and data. When "Monitor & Tune" is clicked, the following XCP timeout error occurs:
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
Kindly refer to the following thread where the same error has been discussed and resolved for a similar C28x board (TI F28035):
You can also refer to the following thread where XCP timeout issue for STMicroelectronics Nucleo Boards has been discussed and few comprehensive steps have been provided to diagnose and resolve the error:
Based on the discussions in the above thread, it is possible that there are out-of-memory issues with the model that needs to be resolved. It is also possible that a host-model approach may resolve this error: a host model to send and receive data with the target model deployed on the board. This involves using Serial communication blocks in the host and target models; you can refer to the examples in the following documentation to know more:
I hope this helps with resolving the error.
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!