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 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 3 Set 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).

Più risposte (0)

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by