How to load the Embedded Coder output into Code Composer Studio 4?
Show older comments
Hello,
I am using the Embedded Coder toolbox to generate code for a Texas Instruments DSP. Embedded Coder produces some C-code which I would like to open (and build) in Code Composer Studio 4. Does somebody know how to load these C-source files into a valid CCs project?
I know Embedded Coder can also directly build the .out HEX file for the DSP. This is not an option for me because I would like to step through the C-code and fully make use of the CCs debug tools (which was possible with CCs3.3 and an older IDE link Matlab Coder Generation toolbox which automatically configured the CCs project).
Thanks in advance. Joost
Accepted Answer
More Answers (1)
Kaustubha Govind
on 9 Feb 2012
0 votes
Support for CCS4 was only added in R2011a - so if you're using a previous version you might have trouble interfacing with CCS4. If you are using version R2011a or newer, you need to use the XMakefile configuration. See Tutorial: Using Makefiles with Code Composer Studio 4.x. I haven't tried this, but I'm assuming that this will help you use CCS tools like you could previously with the project mechanism.
8 Comments
Joost
on 10 Feb 2012
Kaustubha Govind
on 10 Feb 2012
You need to run the dss from the System shell, not from within MATLAB. I don't know much about this configuration, but I think you need to debug using DSS. As per this solution, full-scale IDE support is not available with CCS4: http://www.mathworks.com/support/solutions/en/data/1-DM9192/index.html
Joost
on 16 Feb 2012
Kaustubha Govind
on 16 Feb 2012
Does running the dss command while specifying the name of your .ccxml not open it up in CCS? For example:
> dss runProgram.js c:\workspace\myC6416dsk.ccxml myProgram.out
Joost
on 20 Feb 2012
Kaustubha Govind
on 21 Feb 2012
Sorry, I don't really have any experience using DSS. Perhaps you can find some help on TI forums? See http://processors.wiki.ti.com/index.php/Debug_Server_Scripting to get started.
Joost
on 22 Feb 2012
Kaustubha Govind
on 22 Feb 2012
Joost: The "normal" way would be to just generate a CCS IDE projects, which was only supported until CCS 3.3. I don't know if moving forward only DSS will be supported or generation of CCS projects with CCS 4.0 will be added.
The error message is strange - it says the system command "echo" could not run. Perhaps your system shell setup has been specialized? You could try running the command directly from the system command window and see if you are able to access it?
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!