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.

Using RTRT with CCS



Hi,

   I need to know is there any way to find out code coverage using CCS. I am aware that we can use Analysis Toolkit to fing code coverage, but it works only with simulator it does not run with EVM. I found one RTRT option in CCS ( Tools>Rational Test Real Time) but i dont know how to use this. I tried by enabling that but i did not get any report. I did not find any info about how to use that.

If any one know how to use this RTRT with CCS please help me. It will be useful for my work.

 

Thanks & Regards

Praveen Aruru

  • Praveen,

    There are some third party tools that provide code coverage.  Rational did provide a real-time test tool a few years ago.  I am guessing that you are running a pretty old version of CCS.  That tool was not provided with CCS so you must have purchased it from Rational.  They would be your best contact for getting support on it.

    There are other companies that provide products that integrate with CCS that provide code coverage such as LDRA, ParaSoft, Klocwork and others.

    If you are using a C6000 processor, newer versions of the compiler can also measure code coverage.

    Regards,

    John

     

  • I tried out Compiler CodeCoverage feature and I was able to get basic coverage displayed by setting the "--gen_profile_info" in the Feedback Options section.  After running my application I select Tools->Profile->Process CodeGen Code Coverage.  If you click on the "Show Coverage" button in the view that opens it will also highlight the coverage information in the source code editor.

    There is more functionality available than just the simple code coverage feature.  This is described in compiler users guide.

     

    Regards,

    John

  • Hi John,

         I am using CCS V3.3.82.13. And i have RTRT tool installed in my PC may be thats why Rational Tests RealTime option is showed in my CCS Tools option. But i dont know how to use that. But "CodeCoverage and Exclusive Profiler" option that comes in Profile->Analysis Toolkit works only for simulator it does not work for EVM board. So If you have ever used this RTRT option that comes in CCS please help me.

     

    Thanks & Regards

    Praveen Aruru

  • Praveen,

    Sorry I have never used that product from Rational.  Your best bet is to ping rational.

    Regards,

    John