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.

Problems building CSL library

Hi,

I would like to re build the CSL library so I proceed as it is written into the following document:

http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide

Building CSL and the Low Level Device Drivers

Follow the instructions below to build CSL and LLDs.

  • Open a command window inside of the $(TI_PDK_C66##_INSTALL_DIR)\packages directory.
  • Set the environment by running the batch file and follow the instructions as per the batch file output.
.\ti\drv\pdksetupenv.bat
  • After configuring the environment successfully, the following message appears.
*******************************************************************************
...
...
...
PDK BUILD ENVIRONMENT CONFIGURED
*******************************************************************************




But I have an issue when I run the command: .\ti\drv\pdksetupenv.bat
The following message appear :

"ENVIRONMENT VARIABLEC6X_GEN_INSTALL_PATH: Code Generation Tool NOT CONFIGURED!!
!!"
Example [NOTE ""]:set C6X_GEN_INSTALL_PATH="C:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.2.4"
ERROR CONFIGURING PDK BUILD ENVIRONMENT
*******************************************************************************

Please someone help me to build fine the library ?
I don't know where to set the C6X_GEN_INSTALL_PATH variable...
  • Michael,

    You have to setup the environment variables in your OS, in Windows 7 you could do as described in this link:

    The variable name is: C6X_GEN_INSTALL_PATH

    and the Variable Value is where you tool is installed, something like: C:\ti\C6000 Code Generation Tools 7.3.7

    I don't know if there's other way to do this. You will have to set other variables too (read the .bat file in a text editor)

    Hope it works.

    Regards

  • Johannes,

    Thank you for your reply.

    Unfortunately  I can't find the file "C6000 Code Generation Tools 7.3.7"

    Is it directly installed when you install MCSDK ? or you have to install it by yourself after ?

    Regards.

  • Hi Michael,

    I'm not sure, but I think that the Code Generation Tools directory is created when you install Code Composer Studio, it must be located in your installation path, the default path is C:\ti

    You can also install it by yourself, the download page is https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm7.3.7 is the latest version of the C6000 compiler.

    Regards

  • Johannes,

    Thank you for your reply. That's really strange because I can't find the directory.

    The nearest I found is "ccsv5\ccsv5\tools\compiler\c6000"  and inside this directory there's no code generation tool file.

    I'll try to download from the link you gave me. Thank you !

    EDIT: Well... I think the path is correct because there's an uninstall .exe called "uninstall_cgt_c6000". I'll try with this path.

    EDIT2: After running the "pdkbuilder.bat" I have a lot of errors ...

    \pdk_C6678_1_0_0_17\packages>.\ti\drv\pdkbuilder.bat

    \pdk_C6678_1_0_0_17\packages>REM *****************************************************************************

    \pdk_C6678_1_0_0_17\packages>REM Procedure to build using XDC. Obsolete

    \pdk_C6678_1_0_0_17\packages>REM *****************************************************************************
    gmake: Entering directory `.../pdk_C6678_1_0_0_17/packages/ti/csl'
    rm -rf ./lib/*/
    process_begin: CreateProcess(NULL, rm -rf ./lib/*/, ...) failed.
    make (e=2): Le fichier spécifié est introuvable.
    gmake: *** [clean_package] Error 2
    gmake: Leaving directory `../pdk_C6678_1_0_0_17/packages/ti/csl'

    And I have errors like this for all the files it wants to access. Maybe the configuration of environnement variables isn't right ?

  • Michael, were you able to build the pdk without errors?

    How did you resolve this issue?

  • Sorry but I didn't find out what the problem was.

    I just took the file I was interested (the code source) about and I added it into my project. I know this is not a clean way to proceed but I had to find a solution.

  • Hi Michael,

    Please look for the folder cgtools, for C6678 you can find this C:\TI\xdais_7_20_00_07\packages\ti\xdais\qualiti\cgtools, i think this will be the code generation tool folder.

  • Sorry Michael,

    for  "C6X_GEN_INSTALL_PATH" you have to set something like "C:\ti\ccsv5\tools\compiler\c6000_7.3.4" . please check Steven's reply in this link

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/235315/826719.aspx#826719

    With regards,

    Remesh