F28035 XCP Connection Error
110 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Robin Molnar
le 26 Juin 2023
Commenté : Robin Molnar
le 26 Août 2023
Hello,
I try to deploy a simple model to my Texas Insturments Experimenter's Kit powered by an F28035 MCU, but during Monitor & Tune in R2022a, I fail to connect to it.
What happens is that the code gets build and deployed to the MCU, but then the connection fails with:
| 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
| Component:Simulink | Category:Block diagram error
The model that I use is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1420183/image.png)
The hardware configuration is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1420188/image.png)
The External Mode is setup as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1420193/image.png)
Finally, the SCI_A that should be used by XCP is configured as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1420198/image.png)
Isn't XCP connection achieved via the XDS100v2 probe, or what is wrong?
Thanks,
Robin
0 commentaires
Réponse acceptée
Nathan Hardenberg
le 27 Juin 2023
I had this Problem with the Piccolo F280049C Launchpad and had to change the COM-Port (which is COM4 in your case):
Model Settings > Hardware Implementation > Target hardware resources > External mode > Serial port (...)
In Device-Manager check for the COM-Port with "User UART". For me by default the other COM-Port (Auxiliary Data Port) was selected. After the change "Monitor & Tune" worked as expected. Maybe this can also help you, even if it is not the same board/processor
7 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!