Why does the TI C2000 hardware support package give a "Cannot create valid debug session for Board/CPU" when trying to load to my board?

5 views (last 30 days)
I am using the Embedded Coder Support Package for Texas Instruments C2000 Processors and am trying to load my code to the board with the "Build, load, and run" build action. The code generates and builds successfully, but when it tries to load to the board I get the following error.
 
SEVERE: C28xx: Error initializing emulator:
SEVERE: Could not start server: DebugServer.1: C28xx: Error initializing emulator:
*** Cannot create a valid debug session for Board/CPU=*/*.
Make sure this matches only one board and one CPU.
Exiting...
I already made sure that my CCXML file is correct and I am able to successfully connect to the board with Code Composer Studio. How can I fix this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Dec 2016
This error can occur when the load process is unable to establish a connection because a connection already exists to the board. This can happen if you connect to the board with Code Composer Studio and then try to build, load, and run the code from Simulink. Disconnecting Code Composer Studio from the board may resolve the issue.

More Answers (0)

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!