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.

Can't import and build Project Zero with CCS 6.2

Other Parts Discussed in Thread: CC2650, LAUNCHXL-CC2650, CC1310

I will begin teaching a course based on the CC2650 Launchpad next week and I am having trouble setting up the current version of CCS (6.2 for Windows for Simplelink Wireless) and the Simplelink Academy. I am trying to come up with install instructions that will allow students to build and run Project Zero.

CCS 6.2 installed without a problem. Resource Explorer is a new version that seems to ignore products installed in the installation directory, instead offering to download products from the cloud. I was able to install BLE from the cloud (It also installed TI-RTOS 2.13 and a version of the XDC tools). But I was not able to build and run the stack and app projects for Project Zero. Not from the cloud from Resource Explorer, and not from a local install of the Simpelink Academy. Many errors in both cases.

The cloud version (no local CCS) did work, but it has only this one example, not other examples for BLE or for TI-RTOS.

Any help would be appreciated. What I need is basically a set of components that if installed cleanly, would allow importing Project Zero as well as other BLE and TI-RTOS examples.

Thanks, Sivan Toledo

  • Hello Sivan ,

    Please check under View -> Resource Explorer Classic for the local SimpleLink Academy 1.10 installation. I recommend doing a native install of CCS v6.2.0 Build 50 or later.

    For best practices, please make sure to follow the guidance for installing the proper TI Compiler version. Also, remember to clear the phone's BT cache when switching firmware builds on the LAUNCHXL-CC2650 or you may fall victim to endless frustration

    Beyond that, please do let us know how the class goes!

    Best wishes

  • Thanks JXS,

    This helped but it is still not working. I installed Simplelink Academy 1.10 and BLE 2.2 from the install applications.

    I then imported the stack and app projects for Project Zero from Simplelink Academy using the Resource Explorer Classic.

    The build of the stack project went fine but the build of the app project failed with 41 errors. The first were about files it was expecting to find in the stack project but the stack project was mis-named; it was expecting to see a project called project_zero_stack_cc2650 but the actual project imported as ProjectZeroStack_CC2650LAUNCHXL.

    I renamed the stack project and tried to rebuild the app project but still experienced lots of errors.

    I deleted both projects and imported them again.

    This time even the stack did not build correctly (even though it built correctly the first time). The errors were in the link phase. I am pasting them below.

    It's frustrating that even just building a demo project is so difficult. I already have experience with CCS and MSP430 and CC1310, but this seems really fragile.

    Sivan

    ...
    <Linking>
    "c:/programs/ti3/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx/ccs/cc26xx_stack.cmd", line 95: error #10263: FLASH memory range has already been specified
    "c:/programs/ti3/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx/ccs/cc26xx_stack.cmd", line 95: error #10264: FLASH memory range overlaps existing memory range FLASH
    "c:/programs/ti3/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx/ccs/cc26xx_stack.cmd", line 98: error #10263: SRAM memory range has already been specified
    "c:/programs/ti3/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx/ccs/cc26xx_stack.cmd", line 98: error #10264: SRAM memory range overlaps existing memory range SRAM

    undefined first referenced
    symbol in file
    --------- ----------------
    HalFlashGetAddress <whole-program>
    HalFlashRead <whole-program>
    HalFlashWrite <whole-program>
    HalTRNG_GetTRNG <whole-program>
    HalTRNG_InitTRNG <whole-program>

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "ProjectZeroStack_CC2650LAUNCHXL.out" not built

    >> Compilation failure
    makefile:184: recipe for target 'ProjectZeroStack_CC2650LAUNCHXL.out' failed
    makefile:176: recipe for target 'all' failed
    gmake[1]: *** [ProjectZeroStack_CC2650LAUNCHXL.out] Error 1
    gmake[1]: Target 'main-build' not remade because of errors.
    gmake: *** [all] Error 2
  • OK, I think I got it. I installed CCS again as well as the Academy and BLE. I then imported from RE Classic only the app project, which caused the importation of the stack project automatically, and with the correct name. This time the build went smoothly.

    Thanks again. Sivan
  • Thanks for letting us know it's working. I suspect the original problem was an artifact of the previous CCS cloud import. In general, it's good practice to back up the BLE Stack install folder to help with restoring to the original configuration.

    Best wishes
  • i've experienced lots of error while importing and building project zero in CCS v6.2.000050.
    I cant find project zero in resource explorer classic...
  • Try to download and install simplelink academy from software-dl.ti.com/.../overview.html
  • I Yikai,
    i've installed the academy and the ble_sk_2_02_00_31, i've imported the project zero app (and automatically the stack,), project zero stack is built correctly, for the project zero app build i have 3 errors

    configuring appBLE_UartLog.xem3 from package/cfg/appBLE_UartLog_pem3.cfg ...
    TOOLS/subdir_rules.mk:7: recipe for target 'build-1577816961' failed
    js: "C:\ti\xdctools_3_31_01_33_core\packages\xdc\cfg\SourceDir.xdt", line 47: Error: template generation of 'C:\ti\simplelink\ble_cc26xx_2_01_00_44423_cloud\Projects\ble\ProjectZero\CC26xx\CCS\Config/src/makefile.libs' failed: can't create the directory 'C:\ti\simplelink\ble_cc26xx_2_01_00_44423_cloud\Projects\ble\ProjectZero\CC26xx\CCS\Config\src'
    xdctools_3_31_01_33_core\gmake.exe: *** [package/cfg/appBLE_UartLog_pem3.xdl] Error 1
    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: *** [build-1577816961] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    I wanna try to import the project from resource explorer classic to check if it works, but i cant find it!
  • Vito,

    you are still trying to mix cloud resources with locally installed ones. From my experience, it does not work. Here is why I am saying this:

    can't create the directory C:\ti\simplelink\ble_cc26xx_2_01_00_44423_cloud\Projects\ble\ProjectZero\CC26xx\CCS\Config\src'

    See the "cloud" in this error message. It looks like your BLE is a local install (that's good) but SimpeLink Academy was installed from the cloud. You need to download the EXE installer for Academy 1.10, run it, install it in the same directory as CCS 6.2 (normally c:\ti) and as the BLE stack that was also installed from an EXE, and then it should work.

    I also ran through the same problems. Only installing everything from EXEs worked, or doing everything in CCS cloud. Mixing did not work even though CCS 6.2 local can install projects and stacks from the cloud. It installs them, but they don't work :-)

    Also, you don't see Academy in Resource Explorer Classic because you did not install it locally. Install it from an EXE and then you'll see it in Classic. At least that's what happened to me.
  • I agree with sivan and I suggest you to remove everything included CCS, simplelink academy, BLE Stack and all related things first. Then, reinstall CCS, simplelink academy, and BLE Stack to test from scratch.