MATLAB Answers

C2000 Embedded Coder: Debug Server Scripting Error

9 views (last 30 days)
Euan Andrew
Euan Andrew on 25 May 2021
Commented: ATOUI Adil on 21 Aug 2021
I am working on a clean install of Matlab, CCS, ControlSuite and C2000Ware. I can build C-code projects from CCS and deploy them to the hardware with no issues. However, when I try to build and deploy a model with embedded coder, I get the following error:
The following error occurred during deployment to your hardware board:
Debug Server Scripting (DSS) error:
*** User inputs:
Target Configuration: undefined
Program Name: undefined
Board Name: unspecified (connect to first board)
CPU Name: unspecified (connect to first CPU)
Hardware Name: unspecified
Boot From Flash: unspecified
*** Starting debug session...
SEVERE: Cannot read System Setup data from XML file C:\SimulinkCoder\MMPC_Test_ert_rtw\undefined
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\SimulinkCoder\MMPC_Test_ert_rtw\undefined
SEVERE: Could not start server: DebugServer.1: Cannot read System Setup data from XML file C:\SimulinkCoder\MMPC_Test_ert_rtw\undefined
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\SimulinkCoder\MMPC_Test_ert_rtw\undefined
*** Cannot create a valid debug session for Board/CPU=*/*.
Make sure this matches only one board and one CPU.
Exiting...
I'm working direct from a folder on my C drive with no spaces or special characters in the file names.
Any ideas how to proceed?

Accepted Answer

Chidvi Modala
Chidvi Modala on 31 May 2021
You can refer to the following link where answer to similar problem has been provided
  1 Comment
ATOUI Adil
ATOUI Adil on 21 Aug 2021
if you can help me with the configuration of my f28335, I am using Matlab 2020a,

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!