F28035 XCP Connection Error

조회 수: 109 (최근 30일)
Robin Molnar
Robin Molnar 2023년 6월 26일
답변: VINODH KUMAR 2025년 7월 7일
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

채택된 답변

Nathan Hardenberg
Nathan Hardenberg 2023년 6월 27일
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
ali
ali 2023년 8월 26일
thank you man, it work completely and I connect to borad in external mode.
Robin Molnar
Robin Molnar 2023년 8월 26일
You are most welcome, @ali!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

VINODH KUMAR
VINODH KUMAR 2025년 7월 7일
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.
default SCI settings
and from the datasheet of launchxlf28069

태그

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by