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/TIDA-01012: how to compile the firmware of TIDA-01012

Part Number: TIDA-01012
Other Parts Discussed in Thread: SYSBIOS, CC2640, BLE-STACK

Tool/software: Code Composer Studio

I installed CCS V8. and several related software package. I am not sure the revision are matching or not. initially none of the stack and App compile. but after I installed ble_cc26xx_setupwin32_2_01_01_44627.exe

then the stack compiled with no error, but the application still has few errors.  I googled the web, there are few possible reasons.  one of the reason is the software packages not match. how can I get a software list ( with correct revision information) that can compile this project. 

for example, for CCS V8, what is the version of BLE stack, what is the version of ARM GCC compiler. if CCS V8 doesn't work, then which version will work. it is a little confusing to a newbie. 

I can compile  simple_np_cc2650bp_app without any problem. I want to reinstall all software tools, but I don't know what is the best software tools combination to compile this TIDA-01012. Hope I can get some suggestion.

here is the dump of the build information,

somewhere mentioned "because package/package.xdc.inc is older than package.xdc". what this means, if this is the root cause, which package is good for this project. 

thanks,

David Sun

**** Build of configuration FlashROM for project TIDA-01012 Application ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

Building file: "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv8/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640F128 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_5.2.9" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_5.2.9/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/packages/ti/boards/SRF06EB/CC2650EM_7ID\" --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/DevInfo\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SimpleProfile/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SimpleProfile\" --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/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" -g --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=2672 --define=TI_DRIVERS_SPI_DMA_INCLUDED --define=TI_DRIVERS_LCD_INCLUDED --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XXWARE --define=CC26XX --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on " "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring appBLE.xem3 from package/cfg/appBLE_pem3.cfg ...
TOOLS/subdir_rules.mk:12: recipe for target 'build-501359599-inproc' failed
js: "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg", line 29: XDC runtime error: ti.sysbios.family.arm.cc26xx.Power: no property named 'standbyPolicy'
"./package/cfg/appBLE_pem3.cfg", line 180
gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Error 1
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[1]: *** [build-501359599-inproc] Error 1
gmake: *** [build-501359599] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-501359599' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi David,

    The compiler and IDE versions used to build the various BLE Stacks are listed in the release notes.

    Cheers,
    Fredrik
  • I test this on CCS7.4 and it work fine. Remember to re-import TIDA-01012 example code in CCS after you install ble_cc26xx_setupwin32_2_01_01_44627.exe and restart CCS.
  • thank you for your replay, I am a newbie. could you please drop a few more words, when you say release note, is it TIDA-01012_BLE_STACK in the TIDCCQ5? I couldn't find any release note in that package. or it is a generic BLE Stack, as I found at this file

    file:///C:/ti/simplelink/ble_cc26xx_2_01_01_44627/README.html

    Texas Instruments

    SimpleLink™ Bluetooth® low energy CC2640 wireless MCU

    BLE-Stack™ Software Development Kit Release Notes

    I did import an example project successfully (simple_np_cc2650bp_app and stack), even I don't really know what it is doing. but the build completed successfully. which I indirectly proved my tools not totally wrong.

    when I import the CCS project in TIDCCQ5, the build shown some error message as in my first post. hope I can get some help, I am starting to read the release notes. I am not a professional software developer. that will take quite a while.

    appreciate your help.

    David Sun
  • Hi YK,

    I did removed the old project, and re-imported the project again. I still got the error message, even it may slightly different with the last time.

    **** Clean-only build of configuration FlashROM for project TIDA-01012 Application ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k clean

    DEL /F "TIDA-01012 Application.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "TIDA-01012 Application.out"
    RMDIR /S/Q "configPkg\"
    DEL /F "Application\WDMM.obj" "Application_Profiles\WDMM_Service.obj" "Application_Profiles\devinfoservice.obj" "Drivers\I2C\I2C.obj" "Drivers\I2C\I2CCC26XX.obj" "Drivers\LCD\LCDDogm1286.obj" "Drivers\LCD\LCDDogm1286_util.obj" "Drivers\PIN\PINCC26XX.obj" "Drivers\SPI\SPI.obj" "Drivers\SPI\SPICC26XXDMA.obj" "Drivers\UART\UART.obj" "Drivers\UART\UARTCC26XX.obj" "Drivers\UDMA\UDMACC26XX.obj" "ICall\ICall.obj" "ICall\ICallCC2650.obj" "ICallBLE\ICallBleAPI.obj" "ICallBLE\bleUserConfig.obj" "PROFILES\gatt_uuid.obj" "PROFILES\gattservapp_util.obj" "PROFILES\peripheral.obj" "PROFILES\simpleGATTprofile.obj" "Startup\Board.obj" "Startup\ccfg_appBLE.obj" "Startup\main.obj" "Utils\util.obj"
    DEL /F "Application\WDMM.d" "Application_Profiles\WDMM_Service.d" "Application_Profiles\devinfoservice.d" "Drivers\I2C\I2C.d" "Drivers\I2C\I2CCC26XX.d" "Drivers\LCD\LCDDogm1286.d" "Drivers\LCD\LCDDogm1286_util.d" "Drivers\PIN\PINCC26XX.d" "Drivers\SPI\SPI.d" "Drivers\SPI\SPICC26XXDMA.d" "Drivers\UART\UART.d" "Drivers\UART\UARTCC26XX.d" "Drivers\UDMA\UDMACC26XX.d" "ICall\ICall.d" "ICall\ICallCC2650.d" "ICallBLE\ICallBleAPI.d" "ICallBLE\bleUserConfig.d" "PROFILES\gatt_uuid.d" "PROFILES\gattservapp_util.d" "PROFILES\peripheral.d" "PROFILES\simpleGATTprofile.d" "Startup\Board.d" "Startup\ccfg_appBLE.d" "Startup\main.d" "Utils\util.d"
    系统找不到指定的文件。
    系统找不到指定的文件。
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Application\WDMM.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Application_Profiles\WDMM_Service.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\I2C\I2C.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\LCD\LCDDogm1286.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\PIN\PINCC26XX.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\SPI\SPI.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\UART\UART.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\UDMA\UDMACC26XX.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\ICall\ICall.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\ICallBLE\ICallBleAPI.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\PROFILES\gatt_uuid.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Startup\Board.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Utils\util.obj
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Application\WDMM.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Application_Profiles\WDMM_Service.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\I2C\I2C.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\LCD\LCDDogm1286.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\PIN\PINCC26XX.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\SPI\SPI.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\UART\UART.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Drivers\UDMA\UDMACC26XX.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\ICall\ICall.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\ICallBLE\ICallBleAPI.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\PROFILES\gatt_uuid.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Startup\Board.d
    找不到 C:\work\multimeter\tidccq5\TIDA-01012 Application\FlashROM\Utils\util.d
    Finished clean


    **** Build Finished ****

    **** Build of configuration FlashROM for project TIDA-01012 Application ****

    "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k all

    Building file: "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv8/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/uia_2_00_06_52/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640F128 -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_5.2.9" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_5.2.9/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/packages/ti/boards/SRF06EB/CC2650EM_7ID\" --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/DevInfo\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SimpleProfile/CC26xx\" --include_path=\"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SimpleProfile\" --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/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" -g --gcc --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=2672 --define=TI_DRIVERS_SPI_DMA_INCLUDED --define=TI_DRIVERS_LCD_INCLUDED --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XXWARE --define=CC26XX --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on " "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring appBLE.xem3 from package/cfg/appBLE_pem3.cfg ...
    TOOLS/subdir_rules.mk:12: recipe for target 'build-501359599-inproc' failed
    js: "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/appBLE.cfg", line 29: XDC runtime error: ti.sysbios.family.arm.cc26xx.Power: no property named 'standbyPolicy'
    "./package/cfg/appBLE_pem3.cfg", line 180
    gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Error 1
    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[1]: *** [build-501359599-inproc] Error 1
    gmake: *** [build-501359599] Error 2
    TOOLS/subdir_rules.mk:9: recipe for target 'build-501359599' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


    thank you very much,

    David Sun
  • After you install , you should see folder C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\ and you should extract "TIDA-01012 Application" and "TIDA-01012_BLE_STACK" to C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\tida-01012. The, you can use CCS to import tida-01012 project from C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\tida-01012. By the way, CCS 8 is very new and I haven't had time to play with it so I suggest you to use CCS 7.4 instead of 8 to test this.
  • Hi YiKai

    It works now, seems it is easy for you, just drop a few more lines, but there is no way for myself to figure it out. 

    thank you very much. 

    David Sun