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 use Compiler Path Profiler Tool to generate Line coverage ?

Tool/software: Code Composer Studio

First question , how to use the target hardware and the profiling tab  to generate a pdat file, and then to generate a line covereage  report ?

Second question , we have use CCS Tools ->Hardware Trace Analyzer -> open file  to import a .tdf file , and UlDspKeCpu.out , but  line Number didn't display all code run , just display some of the lines . how can we get all line number covered display in ccs ?

Thanks !

BR

Yan

  • Hello,

    yan gao said:
    First question , how to use the target hardware and the profiling tab  to generate a pdat file, and then to generate a line covereage  report ?

    If you are looking to do this from the command-line using strictly the compiler tools, see section 4.11.2 of the below document:

    http://downloads.ti.com/docs/esd/SPRUI04C/

    If you are looking to do this within CCS, the please see the below presentation - starting with slide 6:

    http://dev.ti.com/tirex/#/?link=Development%20Tools%2FIntegrated%20Development%20Environments%2FCode%20Composer%20Studio%2FDebug%2FTraining%2FCode%20Coverage

    Note that support for this feature via CCS has been deprecated in support. There are some known issues with this in recent CCS version so you may want to use strictly the compiler tools option.

    yan gao said:
    Second question , we have use CCS Tools ->Hardware Trace Analyzer -> open file  to import a .tdf file , and UlDspKeCpu.out , but  line Number didn't display all code run , just display some of the lines . how can we get all line number covered display in ccs ?

    Note that is question is unrelated to the first. It is good practice to create a new thread for each new topic. Pplease create a separate thread for this item

    Thanks

    ki