This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Code optimization feature in CCSv5.1.0

Hi,

I am a first time user of the CCS tool. I faced some issues while using the tool and have a few questions. 

1. How does the code optimization work in the Code Composer Studio(CCS)v5.1.0 on a Linux host ? There is no option seems to be available to generate the optimized C source code. I want to generate the platform specific (OMAP L138) code from the generic C source code,

2. The profiling and code coverage features should be there in the Tools menu according to the Help contents, but the menu itself is missing. Does the evaluation version restrict these features ? 

Thanks in Advance...

Regards,
Deepak
  • Hello Deepak,

    Deepak Kalia said:
    1. How does the code optimization work in the Code Composer Studio(CCS)v5.1.0 on a Linux host ? There is no option seems to be available to generate the optimized C source code.

    Assuming you are using TI compilers, there are several build options to enable/disable various levels of optimization. See Chapter 3 of:

    C6000: http://www.ti.com/lit/ug/spru187t/spru187t.pdf

    ARM: http://www.ti.com/lit/ug/spnu151g/spnu151g.pdf

    These options can be enabled/disabled from CCS via the project properties if using a CCS project.

    Deepak Kalia said:
    2. The profiling and code coverage features should be there in the Tools menu according to the Help contents, but the menu itself is missing. Does the evaluation version restrict these features ? 

    Code coverage is only available when using certain simulators. CCS function profiling is not supported on C6000 HW but it is supported on ARM9.

    Still, the menu item should at least appear. You can try resetting your perspective or using a new workspace as mentioned below:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#General_IDE

    Thanks

    ki