Hello,
I am using window 10 pc and cc2650stk.
I have used CCS 6.1.2, BLE stack 2.1.1 , TI RTOS 2.13.0.06, XDCtool 3.31.3.33, Compiler version TI v5.2.5. for following log.
I am getting following activity log after building example project of sensor tag from ble stack.
**** Build of configuration FlashOnlyOAD for project SensorTag ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_simplelink_2_13_00_06/packages;C:/ti/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages;C:/ti/tirtos_simplelink_2_13_00_06/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/ICall/Include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Roles/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Roles\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/Keys\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/DevInfo\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SensorProfile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/OAD/cc26xxST\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/applib/heap\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/hci\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/controller/CC26xx/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/host\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/osal/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/services/sdata\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/services/saddr\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/icall/include\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/icall/ports/tirtos\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/interfaces\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/devices\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120\" --define=POWER_SAVING --define=GATT_TI_UUID_128_BIT --define=FEATURE_REGISTER_SERVICE --define=FEATURE_OAD --define=FACTORY_IMAGE --define=USE_ICALL --define=TI_DRIVERS_PIN_INCLUDED --define=TI_DRIVERS_I2C_INCLUDED --define=TI_DRIVERS_SPI_INCLUDED --define=GAPROLE_TASK_STACK_SIZE=550 --define=HEAPMGR_SIZE=2872 --define=ICALL_MAX_NUM_TASKS=8 --define=ICALL_MAX_NUM_ENTITIES=11 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=CC26XXWARE --define=CC26XX --diag_wrap=off --diag_suppress=48 --display_error_number --diag_warning=225 --gen_func_subsections=on " "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg"
making package.mak (because of config.bld) ...
configuring appBLE.xem3 from package/cfg/appBLE_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/sysbios.aem3 ...
gmake[1]: Entering directory `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios'
Preprocessing library source files ...
Creating the SYS/BIOS library that contains the APIs not included in the ROM ...
0 [main] sh 6564 sync_with_child: child 9636(0x1DC) died before initialization with status code 0xC0000142
32 [main] sh 6564 sync_with_child: *** child state waiting for longjmp
C:/Users/TEJASD~1/AppData/Local/Temp/make15736-1.sh: fork: Resource temporarily unavailable
gmake[1]: *** [mangled__BIOS_lib.obj] Error 128
gmake[1]: Leaving directory `C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios'
gmake: *** [C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/sysbios.aem3] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_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_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/appBLE_pem3.xdl'
gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Deleting file `package/cfg/appBLE_pem3.h'
gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Deleting file `package/cfg/appBLE_pem3.c'
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
And error shown is
Description Resource Path Location Type
xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: appBLE.cfg /SensorTag/TOOLS C/C++ Problem
And appBLE.cfg file is
I have tried by changing ccs versions to 6.1.1 and 6.1.3. Also changed ble stacks as 2.0.0.42893 , 2.1.0.44423, 2.1.1.44627, 2.2.0.31. changed compilers 5.2.5 and 5.2.7. Even changed XDC 3.31.00.24, 3.31.01.33, 3.32.00.06. I changed TI RTOS versions also 2.13 , 2.11 , 2.18 , 2.20.
All of the above has been tried with combinations as per requirements of the respective version. But every time got errors. and error mentioned is repeated almost every time.(except power management issue occurred due to changing rtos versions from 2.13 to 2.18/2.20)
And I have uninstalled all the possible tools and extensions and deleted all the folders of texas instruments and ti with ccleaner before installing. And this process has been repeated for several times. But every time building is failed. I referred the discussions but nothing is working. And I had taken precaution about antivirus during installation. Even i checked by changing the workspaces and their locations and installing the CCS and other tools in other drive.
Please help me I have wasted more than 7 days due to this issue.
Thanks in advance.