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/CC3200-LAUNCHXL: wlan-station, CCS 9.0.1, CC3200SDK_1.4.0

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200SDK, SYSBIOS, CC3200

Tool/software: Code Composer Studio

Hello, 

I am trying to run wlan-station project (http://www.ti.com/lit/ug/swru376e/swru376e.pdf). I am using CCS 9.0.1 and CC3200SDK_1.4.0. I have imported the required projects according to user's guide. SimpleLink is built without any error. However building ti-rtos-config issues errors. The below figure shows the errors and my setting for ti-rtos-config. I tried different version of XDCtools version and TI-RTOS for CC32XX. It did not work. I also tried for CC3200SDK_1.3.0, but the same issues come up. I studied related posts here, but I could not figure out what is wrong with mine. Could you provide some hints to overcome the errors?

Thank you. 

  • Hello, 

    install TIRTOSCC32XX v2.16.1.14

  • Hello Tomasz,

    I already installed TI RTOS CC32XX v2.16.1.14 and selected for build as the above figure shows. It did not work. Do you think I need to do any other selection, e.g. SimpleLink CC32xx SDK? 

  • Hello Farhad,

    TI RTOS CC32XX v2.16.1.14 comes with XDCtools v3.32.00.06

    Use this version. 

  • Farhad,

    As mentioned by Tom, the TI RTOS CC32XX v2.16.1.14 is designed to work with XDCtools v3.32.xx.xx. 

    Since CCS 9.0.1 comes only with XDCtools version 3.55, you would need to download and install 3.32 separately.
    You can get 3.32.00.06 from this page:  http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html

    If you install it to the default c:\ti directory, it will get installed into CCS automatically upon restart. Then in your Project Properties->General you can select the XDCtools version to be 3.32.0.06 and rebuild the project.

    Let us know if this does not resolve the issue.

  • Hello Tomasz and Aarti, 

    Thank you for the comments. I configure Properties as suggested (picture below) but I am still facing the same issue. I tried for both CC3200SDK_1.3.0 and CC3200SDK_1.4.0. Both give error. I past the generated log in the following as well. It seems it is related to sysbios. That is where the first failure emerges. 

    Thank you, 

    ++++++++++++++++

    **** Clean-only build of configuration Default for project ti_rtos_config ****

    "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k clean

    DEL /F "ti_rtos_config.lib" "configPkg\linker.cmd" "configPkg\compiler.opt"
    RMDIR /S/Q "configPkg\"
    Could Not Find C:\ti\CC3200SDK_1.3.0\cc3200-sdk\ti_rtos\ti_rtos_config\ccs\Default\ti_rtos_config.lib
    Finished clean

    **** Build Finished ****

    **** Build of configuration Default for project ti_rtos_config ****

    "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccs910/ccs/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS" "C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xem4 from package/cfg/app_pem4.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4 ...
    gmake[1]: Entering directory `C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    clem4 C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-11648687-inproc' failed
    0 [main] sh 20176 sync_with_child: child 5572(0x244) died before initialization with status code 0xC0000142
    24 [main] sh 20176 sync_with_child: *** child state waiting for longjmp
    C:/Users/Farhad/AppData/Local/Temp/make2820-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/ti/CC3200SDK_1.3.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/app_pem4.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/app_pem4.xdl'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.h'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.c'
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-11648687-inproc] Error 1
    gmake[1]: *** [build-11648687] Error 2
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    subdir_rules.mk:9: recipe for target 'build-11648687' failed
    makefile:127: recipe for target 'all' failed

    **** Build Finished ****

    ++++++++++++++++

  • Farhad, 

    TI RTOS CC32XX v2.16.1.14 expects XDCtools v3.32.02.25. 

    This XDCtools is unavailable on a an official XDCtools download page provided by AartiG. 

    As I remember, however I am not sure, 
    XDCtools v3.32.02.25 comes with CCS v8.3.0 installation. 
    If I am right, after installing CCS v8.3.0, you should have this XDCtools within c:\ti\ccs830\ folder or similar, depending on your settings.

  • Hello,

    create a new workspace, import ti_rtos_config only, try to build it and post the full Console output.

  • Good day Tom,

    Following your suggestion, I created a new workspace for CCS 9.1 and only imported ti_rtos_config from CC3200SDK_1.4.0. 

    To be detailed, I set the compiler version to TI v18.12.2.LTS; XDCtools version: 3.22.2.25_core; TI-RTOS for CC32xx to 2.16.1.14.

    This still generates the same errors. The generated log in console shows the error in the following. 

    I want to highlight something that is questionable to me. Under Project Explorer in the following picture, why src folder is gray? Can't this be the root of problem? 

    Thank you, 

    ++++++++++++


    **** Build of configuration Default for project ti_rtos_config ****

    "C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_02_25_core/xs" --xdcpath="C:/ti/ccs910/ccs/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3200 -r release -c "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS" "C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/app.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring app.xem4 from package/cfg/app_pem4.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4 ...
    gmake[1]: Entering directory `C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    clem4 C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    gmake[1]: Leaving directory `C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:12: recipe for target 'build-11648687-inproc' failed
    0 [main] sh 11748 sync_with_child: child 12932(0x24C) died before initialization with status code 0xC0000142
    19 [main] sh 11748 sync_with_child: *** child state waiting for longjmp
    C:/Users/Farhad/AppData/Local/Temp/make18160-1.sh: fork: Resource temporarily unavailable
    gmake[1]: *** [BIOS.obj] Error 128
    gmake: *** [C:/ti/CC3200SDK_1.4.0/cc3200-sdk/ti_rtos/ti_rtos_config/src/sysbios/sysbios.aem4] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/app_pem4.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/app_pem4.xdl'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.h'
    gmake.exe: *** [package/cfg/app_pem4.xdl] Deleting file `package/cfg/app_pem4.c'
    js: "C:/ti/xdctools_3_32_02_25_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-11648687-inproc] Error 1
    gmake[1]: *** [build-11648687] Error 2
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    subdir_rules.mk:9: recipe for target 'build-11648687' failed
    makefile:127: recipe for target 'all' failed

    **** Build Finished ****

    ++++++++++++

  • Please take a look at this FAQ: https://e2e.ti.com/support/tools/ccs/f/81/t/786662

    If you follow the link to the CCS Build errors page, there are some solutions listed there. I suspect your issue may be related to item #2 - conflicting tools in your Windows system PATH that may contain another Cygwin shell and/or sh.exe/gmake.exe. 

  • Aarti,

    The link was very useful and your guess was correct. sh.exe was called from an old Folder called WinARM. I used rapidee to edit PATH variable. I removed path to WinARM and added c:\ti to PATH under both System variables and User variables. These changes were enough to build ti_rtos_config. Now wlan_station project is correctly Build and works as expected. 

    Thank you Aarti and Tom for your insight and help.