Why am I unable to connect to my TI C2000 target? I get the error: "External Mode Open Protocol Connect command failed Caused by: Could not connect to XCP slave: XCP Master internal error: Busy(0) or no timeout(2) for 255."

25 views (last 30 days)
I am using a TI Piccolo F280049C board. I have a Simulink model that I am able to build and deploy onto the target. However, when I try to Monitor & Tune, I get the following error:
External Mode Open Protocol Connect command failed Caused by: Could not connect to XCP slave: XCP Master internal error: Busy(0) or no timeout(2) for 255 Component: Simulink | Category: Block diagram error Unable to connect to the 'TI Piccolo F280049C LaunchPad' target for 'SBV_Control_49C_external_v4a'. Component: Simulink | Category: Model error

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 3 Sep 2024
The error indicates an issue with the connection to the board. To solve this issue check the COM Port used to communicate with the board. If an Auxiliary port (COM3) is being used, try connecting to a UART port (COM4) and try 'monitor and tune' again.
Ensure the COM port set at 'Configuration Parameters > Hardware Implementation > Target hardware resources > External mode' is the same as the COM port of the serial interface
To ensure other aspects of the board and MATLAB are setup properly, please double check the following:
  • Ensure MATLAB Coder, Simulink Coder, Embedded Coder are installed properly.
  • Ensure relevant support packages (Embedded Coder Support Package for Texas Instruments C2000 Processor) are installed including required 3rd party software.
  • Perform pending updates on Support Packages.
  • Check that the model in consideration does not use blocks unsupported for code generation or for deployment in the specified target (here, TI Piccolo F2800049C LaunchPad).

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!