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.

TMS320F2800157-Q1: How to use Compiler qualification kit

Part Number: TMS320F2800157-Q1

Tool/software:

Hi team

Customer feedback if use ti_cgt_c2000_22.6.0.LTS_bincov_win64.tar.bz2 to replace the bin file in 22.6.0.LTS compiler, ccs will report the issue:

the Chinese mean: "system cannot find the specific file"

Thanks

Joe

  • Please review the parts of this forum thread related to the environment variable COVFILELIST.  If that doesn't help, then please send details for how you set COVFILELIST including the actual setting you used.

    Thanks and regards,

    -George

  • Hi George

    The setup is same as the wrong setup shown in the attached E2E thread, ccs version is 12.8.1 compiler version is 22.6.0.LTS:

    But there is no PDF link attached in the reply to show what's the correct configuration, could you please attach the link for that?

    1) Unzip the “bincov” folder into a temporary location.
    2) Rename the original compiler installation folder from "bin" to "bin_old".
         --> From: C:\ti\CCS5_5_0_00077\ccsv5\tools\compiler\ti-cgt-arm_5.2.9\bin
                   To: C:\ti\CCS5_5_0_00077\ccsv5\tools\compiler\ti-cgt-arm_5.2.9\bin_old
    3) Created a new "bin" folder within compiler installation folder and copy in the executables and *.cov coverage files from the "bincov" folder.
         --> copide "bincov" folder to newly created new folder: C:\ti\CCS5_5_0_00077\ccsv5\tools\compiler\ti-cgt-arm_5.2.9\bin
    4) Open project in CCS 12.8,
         - Open “Project properties”
         - Click on “CSS Build”
         - Click on tab for “Environment”
         - Click on “Add” and add
            Name: COVFILELIST
            Value: see the picture below
    5) Rebuild the project. Got error as mentioned in previous query.

    The environment variables are:

    Thanks

    Joe

  • Joe,

    Using the coverage instructions pdf, I renamed bin to binold, renamed the windows instrumented binary folder from bincov to bin, and then set below in CCS project properties->Build->Environment with "Add" 
    COVFILELIST
    C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\abs2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\ar2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\dem2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\lnk2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\pprof2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\ac2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\asm2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\dis2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\nm2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\strip2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\accla.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\cg2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\embed2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\ofd2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\xref2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\acia2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\cgcla.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\hex2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\opt2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\aciacla.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\cl2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\ilk2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\optcla.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\adv2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\clist2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\libinfo2000.cov,C:\ti\ccs\ccs1210\ccs\tools\compiler\ti-cgt-c2000_22.6.0.LTS\bin\pdd2000.cov

    I rebuilt the project, and I can see that the exercised binaries have updated *.cov files:
    -rw-r--r-- 1 a0196512 domain users 749568 Jun 5 2022 dis2000.cov
    -rw-r--r-- 1 a0196512 domain users 847872 Jun 5 2022 hex2000.cov
    -rw-r--r-- 1 a0196512 domain users 806400 Jun 5 2022 libinfo2000.cov
    -rw-r--r-- 1 a0196512 domain users 1541632 Jun 5 2022 aciacla.cov
    -rw-r--r-- 1 a0196512 domain users 1521152 Jun 5 2022 accla.cov
    -rw-r--r-- 1 a0196512 domain users 687616 Jun 5 2022 nm2000.cov
    -rw-r--r-- 1 a0196512 domain users 1524736 Jun 5 2022 ac2000.cov
    -rw-r--r-- 1 a0196512 domain users 667136 Jun 5 2022 strip2000.cov
    -rw-r--r-- 1 a0196512 domain users 694784 Jun 5 2022 xref2000.cov
    -rw-r--r-- 1 a0196512 domain users 289280 Jun 5 2022 pprof2000.cov
    -rw-r--r-- 1 a0196512 domain users 978944 Jun 5 2022 ofd2000.cov
    -rw-r--r-- 1 a0196512 domain users 839168 Jun 5 2022 pdd2000.cov
    -rw-r--r-- 1 a0196512 domain users 1697792 Jun 5 2022 cgcla.cov
    -rw-r--r-- 1 a0196512 domain users 1841664 Jun 5 2022 optcla.cov
    -rw-r--r-- 1 a0196512 domain users 1549824 Dec 3 16:35 acia2000.cov
    -rw-r--r-- 1 a0196512 domain users 1855488 Dec 3 16:35 opt2000.cov
    -rw-r--r-- 1 a0196512 domain users 2064896 Dec 3 16:35 cg2000.cov
    -rw-r--r-- 1 a0196512 domain users 1596416 Dec 3 16:35 asm2000.cov
    -rw-r--r-- 1 a0196512 domain users 2517504 Dec 3 16:35 lnk2000.cov
    -rw-r--r-- 1 a0196512 domain users 140800 Dec 3 16:35 cl2000.cov

    I would try to rule out a few issues. 

    Does the environment have COVFILE or COVFILELIST variables set outside of CCS? 
    If so then remove those settings.

    Is the current location of their compiler installation writeable? 
    Sometimes there are issues with permissions with installations in:    D:\Program Files\xxxx

    There may be an issue with spaces in file paths.  I'm not sure how best to handle the white space in "Program Files" in the path


  • Hi Gerg

    I use the same file path as you listed, it can works well. I think it may caused by the blank space.

    Thanks

    Joe

  • Could be. I'd still recommend installing 22.6.0.LTS outside of "Program Files" as well as avoiding spaces in the path. Let me know if it still doesn't work.

  • Hi Greg

    Change the path with no blank spaces, compiler works well.

    Thanks

    joe