C2000 F28335 XCP connection error

45 次查看(过去 30 天)
Xinbo
Xinbo 2025-8-11,15:58
回答: Harsh 2025-8-18,4:01
I'm using TMS320F28335 by Simulink C2000 Blockset. When I try to use Monitor and Tune or Connect for my project, it turns to the error:
Error: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command. There was no error when I use Build, Deploy & Start, and my board can work well.
I have try many solutions on the MathWork community, I checked my COM port, baud rate and tried both XDS100v1 and XDS100v2. Also, I used an external CH340 to connect SCI_B and change the config to it, neither can make the connection to the board. I am now doubting that my board has a design problem. I attached the Device Manager, and my Simulink parameters below.

采纳的回答

Harsh
Harsh 2025-8-18,4:01
Hi @Xinbo,
From what I can gather, you are unable to connect to your TMS320F28335 board using Simulink’s Monitor and Tune and getting an XCP timeout error.
To address this, I recommend trying the "Parameter Tuning and Signal Logging with Serial Communication" example for external mode, available in the documentation here:
I hope this helps, thanks!

更多回答(0 个)

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by