How to load the Embedded Coder output into Code Composer Studio 4?
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Kaustubha Govind
2012 年 2 月 9 日
0 投票
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 件のコメント
Joost
2012 年 2 月 10 日
Kaustubha Govind
2012 年 2 月 10 日
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
2012 年 2 月 16 日
Kaustubha Govind
2012 年 2 月 16 日
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
2012 年 2 月 20 日
Kaustubha Govind
2012 年 2 月 21 日
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
2012 年 2 月 22 日
Kaustubha Govind
2012 年 2 月 22 日
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?
カテゴリ
ヘルプ センター および File Exchange で Texas Instruments C2000 Processors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!