How to load the Embedded Coder output into Code Composer Studio 4?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Kaustubha Govind
il 9 Feb 2012
0 voti
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 Commenti
Joost
il 10 Feb 2012
Kaustubha Govind
il 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
il 16 Feb 2012
Kaustubha Govind
il 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
il 20 Feb 2012
Kaustubha Govind
il 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
il 22 Feb 2012
Kaustubha Govind
il 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?
Categorie
Scopri di più su Texas Instruments C2000 Processors in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!