F28035 XCP Connection Error
Show older comments
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:

The hardware configuration is:

The External Mode is setup as:

Finally, the SCI_A that should be used by XCP is configured as:

Isn't XCP connection achieved via the XDS100v2 probe, or what is wrong?
Thanks,
Robin
Accepted Answer
More Answers (1)
VINODH KUMAR
on 7 Jul 2025
0 votes
I faced the same issue. Its about choosing the correct com port and SCI settings.
i am using launchxl f28069.
The default SCI settings for me is Tx - GPIO29, Rx - GPIO28.

and from the datasheet of launchxlf28069


Categories
Find more on Custom Software for Target Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


