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.

CCS: How to achive code coverage and Profiling in Code Composer Studio V6.2 software

Other Parts Discussed in Thread: MSP-FET

Tool/software: Code Composer Studio

Hi,

I am trying to perform code coverage using GNU V6.2.1.16 compiler in Code Composer Studio V 6.2 for MSP430 microcontroller, but i am not able to achieve it. Can anybody suggest the steps to be followed to achieve code coverage also the profiling.

I am using MSP-FET Emulation Tool to download the code. Does we need another (Any Specific?) debugger?  

  • Hello,
    Your options are a bit limited on MSP430. There are two tools that come to mind. The first is the profile clock:

    processors.wiki.ti.com/.../Profile_clock_in_CCS

    Note that enabling the clock will use up a breakpoint resource. Since there are only a limited number of these on MSP430 (I believe just 2), it can impact your debugging flexibility. So keep this in mind when enabling the clock.

    The other tool is EEM:

    dev.ti.com/.../

    This can provide some simple trace capability.

    Thanks
    ki