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/LAUNCHXL-CC2650: can't build project zero

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650, BLE-STACK, BLE-STACK-ARCHIVE

Tool/software: Code Composer Studio

hi there.

i'm building my first project zero ble app on cc2650lp. i got some bugs here, can u help me? thank you

here is my console:

driverlib_release_0_47020 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages/ti/drivers/lib/drivers_cc26xxware.aem3<PINCC26XX.oem3>

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

>> Compilation failure
makefile:183: recipe for target 'project_zero_app_cc2650launchxl.out' failed
gmake[1]: *** [project_zero_app_cc2650launchxl.out] Error 1
makefile:176: recipe for target 'all' failed
gmake: *** [all] Error 2

here is the Problems:

here is my ti rtos ( i installed ble stack 2.2.1 and 2.2.2)

thank you!

  • What SDK do you use?
  • Thanks Joakim for reply. SDK u mean ble_sdk? I installed 2 are: ble_sdk_2_02_01_18 and ble_sdk_2_02_02_25? should i use the older ble_sdk to fix this problems and where can i find it? 

  • I do the following steps and I can build project_zero in simplelink_academy_01_11_00_0000 without problem.

    1. Install ble_sdk_2_02_01_18 under C:\ti\simplelink\ble_sdk_2_02_01_18 and simplelink_academy_01_11_00_0000 under C:\ti\simplelink_academy_01_11_00_0000

    2. Install ARM compiler version 5.2.6 in CCS.

    3. Import ble_projectzero from C:\ti\simplelink_academy_01_11_00_0000\modules\projects\ble_projectzero

    4. Build project.

  • hi YiKai.

    I do your following steps, but the bugs still not fix. it still same befor

    i used TI 5.2.6

    and this

    i try all but the bugs not fixed. 

    my ble 

    the project

    help me pls, thank you so much

  • If everything is correct, TI RTOS version should be 2.20.1.08 not 2.21.0.06 in your screenshot. I would suggest you to uninstall all of your BLE Stack and SimpleLink Academy and reinstall everything to test from scratch.
  • hi YiKai

    thanks for your help, i try again and i found TI-RTOS 2.20.1.08

    but i got another bugs. here it is:

    Board/subdir_rules.mk:9: recipe for target 'Board/CC2650_LAUNCHXL.obj' failed
    "C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/drivers/rf/RF.h", line 358: error #20: identifier "rfc_CMD_PROP_RADIO_DIV_SETUP_t" is undefined
    1 error detected in the compilation of "../Board/CC2650_LAUNCHXL.c".
    gmake: *** [Board/CC2650_LAUNCHXL.obj] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    it's in RF.h

    /// Union of the different flavors of RADIO_SETUP commands
    typedef union {
    rfc_command_t commandId; ///< Can be used simply to get RF operation ID
    rfc_CMD_RADIO_SETUP_t common; ///< Common mode setup (BLE, IEEE modes)
    rfc_CMD_PROP_RADIO_SETUP_t prop; ///< Radio setup for PROP mode
    rfc_CMD_PROP_RADIO_DIV_SETUP_t prop_div; ///< Radio div setup for PROP mode
    } RF_RadioSetup;

  • Do you try to uninstall all of your BLE Stack and SimpleLink Academy and reinstall everything to test from scratch?
  • yes i uninstall sdk and reinstall it, delete folder simplelink academy in C>ti then reinstall them with running .exe file i downloaded yet.
  • maybe i got a mistake when i delete folder ble_sdk 2_02_02_25, im not run file uninstall.exe in this folder, im only delete it. am i wrong?
    On ble_sdk_2_02_01_18, i run uninstall.exe then reinstall it by running ble_sdk_2_02_01_18.exe which i downloaded before
  • Do you delete project_zero from your CCS and import it again after you reinstall BLE Stack and SimpleLink Academy v1.11? By the way, which CCS version do you use?
  • i'm use ccs V8.3 here

    btw i don't know, today i got a new problem, i cant debug my project zero with my cc2650lp. when i hit debug, a error appear:

    i search some solutions and i find a suggestion do forced mass erase with smartRF flash programmer 2:

    but i still don't know what do to next. what should i do to debug and connect my cc2650lp again? thank you so much

  • Try to restart your desktop and also replace an USB cable to test again.
  • i'm just restarted my laptop and debug again. but this error come again:
    IcePick_C: Error connecting to the target: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.1.0.00005)
  • Try to use CCS 9.0.1 to see if it works for you.
  • so i uninstall the old version and install the new one? can u give me a link? should reinstall anything else or just CCS version? btw i search some question about the same error like me, seem like it concern about JTAG or debug interface...
  • Yes, uninstall CCS 8.3 and download 9.0.1 from processors.wiki.ti.com/.../Download_CCS to install and test again.
  • yes im reinstalling ccs. but i mean, about 2 days ago, i still load the project Zero ( from source in TI-Explorer ), it loaded complete and i can control led - read button. then i load project to CCS for learning, then the error appear. now i can’t load the project like before i do. i think, error come from my lauchpad, not from CCS...
  • this is my first loaded program,

    first, i can download and build the project in SOURCE into launchpad

    but now it cant be. this error:

    so i think the launchpad has problems..

  • Where does this error come from?
  • this error come when i download project 0 from dev.ti.com/.../index.html in source area
    2 days ago, it done, no error
    now it cant be done
    maybe my debug interface be locked, maybe cause i'm try to load and reload project many times and it make a mess
  • Try to use Flash Programmer 2 to do mass erase first and test again.
  • hi YK Chen

    i'm downloaded Flash Programmer 2 yet. but i can't connect or do mass erase.

    >Initiate access to target: XDS-L1000619.

    >Create XBAL object failed: Debug interface is locked.

    >Failed to create device object.

    try again

    which steps should i follow now?

  • Do you click the wrench icon on top-right of Flash Programmer2 and select CC26xx/CC13xx Forced Mass Erase?

  • hi YiKai Chen, sorry ‘cause i’m late yes i click this, and click forced mass, but it can’t be done. the error i have posted in my reply. it said can’t connect to device, debug interface locked : (( >Initiate access to target: XDS-L1000619. >Create XBAL object failed: Debug interface is locked. >Failed to create device object. what should i do now?
  • Start a DOS cmd console and witch to C:\ti\ccs_base\common\uscif\xds110. Then, try to use xdsdfu.exe to update XDS110 firmware using the following commands to test again.

    xdsdfu -m
    xdsdfu -f firmware.bin -r
  • hi YK Chen

    Sorry for my late

    My cc2650lp active again, i can load and run blinkled or some simple project

    But the BLE Project zero still can't build

    this error i don't know but i can't fix this

    which is here in RH.h:

    i'm using CCS 901 ( i'm just uninstall the old one and install the new one ), BLE_SDK 2_02_01_18, TI-RTOS 2.20.1.08 and Ti v5.2.6 compiler tool ( all as your suggestion before )

    But this error still appear.

    How can i fix this? i'm try to delete the line 358 ( line got bug ) then build okey, but when run project not active ( i can't see Project Zero on my Smart Phone, can't find the project )

  • I see you had been able to build ProjectZero successfully, right? If so, what have you done after that?
  • yes YK Chen. when i delete this line (358) got bug
    i build complete project_zero_stack
    i build complete project_zero_app
    i hit run > debug
    it done
    then on my cc2650lp, the red light and green light next to TM4C129 ( I think it is debug chip ) turn on
    then on CCS i hit project > connect target ( first option )
    then the red light turn off, the green light still on
    then i open BLE Scanner app on my phone, but i can't see any Project or BLE Project Zero
  • Why do you need to delete this line (358) since it gets bug? By the way, do you use TI ARM compiler v5.2.6 to build ProjectZero?
  • first i build project and got bug on line 358 ( when i still not deleted it yet )
    i try to fix but i dont know how. so i try to delete it ( just try )
    and i use TI ARM 5.2.6 to build.
    How can i fix this line, without delete it? ( i know i should not delete it, it is not the right way to fix bug )

  • I don’t know why you keep seeing such issue. I would suggest you to uninstall/remove everything including CCS/BLE-Stack/SimpleLink Academy/ProjectZero, etc. Then, install them to test from scratch again.
  • the only one thing can make this issue, i think, because before i install both ble2.2.2 and ble2.2.1 on C>ti>simplelink, then i delete the folder ble_sdk 2.2.2 without hit uninstall.exe this sdk.
    does it make error?
    and i notice first time i load project zero, there is a bug about UART HWAttrsV1, then i found the solution is change it to HWAttrsV2. then this bug disappear.
  • I am not sure if deleting the folder ble_sdk 2.2.2 without hit uninstall.exe this sdk made the error. Do you have another desktop to test this?
  • typedef union {

       rfc_command_t               commandId;  ///< Can be used simply to get RF operation ID

       rfc_CMD_RADIO_SETUP_t       common;     ///< Common mode setup (BLE, IEEE modes)

       rfc_CMD_PROP_RADIO_SETUP_t  prop;       ///< Radio setup for PROP mode

       rfc_CMD_PROP_RADIO_DIV_SETUP_t  prop_div;  ///< Radio div setup for PROP mode

    } RF_RadioSetup;

    i'm find out that

    rfc_command_t, rfc_CMD_RADIO_SETUP_t, rfc_CMD_PROP_RADIO_SETUP_t  was defined on rf_prop_cmd.h and rf_common_cmd.h, which are located in ti_rtos_2_20_01_08/products/...

    so maybe my ti_rtos not true, it hasnt .h file for define  rfc_CMD_PROP_RADIO_DIV_SETUP_t which is make bug in here. so how can i retry? i dont know how to uninstall and reinstall ti_rtos, can u help me, any links or steps?

    and should we use 2_20_01_09 tirtos? i see three tirtos in my C>ti

  • I suppose you can delete TI RTOS folder directly and reinstall BLE stack will also install related TI RTOS back.
  • should i delete all 3 ti_rtos and run the ble_stack.exe i downloaded yet? should i download a new ble_sdk? and still setup 2_02_01_18 right?
  • Yes, I would suggest you to do what you described.
  • i can't fine ble stack 2.2.1, i'm just find 2.2.2 at www.ti.com/.../ble-stack
  • You can download BLE Stack 2.2.1 from BLE-STACK-ARCHIVE
  • hi YK Chen
    i just uninstall Ble stack, tirtos and install it again (2.2.1). using CCSv9 and compiler v5.2.6
    seem like everything is ok
    i delete simple academy and reinstall it
    when i load project zero in CCS, the line make bug was gone: RF.h

    /// Union of the different flavors of RADIO_SETUP commands
    typedef union {
    rfc_command_t commandId; ///< Can be used simply to get RF operation ID
    rfc_CMD_RADIO_SETUP_t common; ///< Common mode setup (BLE, IEEE modes)
    rfc_CMD_PROP_RADIO_SETUP_t prop; ///< Radio setup for PROP mode
    } RF_RadioSetup;

    and i build and debug complete, but can't connect Project Zero in my phone
    i try to load Project Zero in here dev.ti.com/.../index.html , it's ok and run normal, so my launchpad not wrong
    why my project load from CCS not run? i cant connect to it
    does RF.h of my project normal? can u check lines 352-258 on RF.h in your Project Zero? same like me or not?
    help me pls, it doesnt work...
  • My RF.h looks exactly the same as yours.

    /// Union of the different flavors of RADIO_SETUP commands
    typedef union {
        rfc_command_t               commandId;  ///< Can be used simply to get RF operation ID
        rfc_CMD_RADIO_SETUP_t       common;     ///< Common mode setup (BLE, IEEE modes)
        rfc_CMD_PROP_RADIO_SETUP_t  prop;       ///< Radio setup for PROP mode
    } RF_RadioSetup;

    Are you sure you use ARM compiler v5.2.6 when you build both of your ProjectZero app and stack project?

  • hi YK Chen sorry for my late

    I think i correct at config build, same as yours

    i dont know i build and debug complete without bugs or errors

    then i hit Run > connect target but i cant find my project on my smart phone ( bluetooth turn on )

    i dont know why, it mess me up. i cant do anything : ((

  • Do you use TI SimpleLink Starter APP on your SmartPhone to scan ProjectZero?
  • yes i use all apps: BLE scanner, LightBlue and TI SimpleLink also... but i can't see Project Zero

    and i try on another Launchpad ( cc2650lp of my friend ) and it not running too

    no bug, no error but can't find Project Zero on my phone

    what should i do, fell a bit disappointed

    i try to uninstall all, ccs, tirtos, ble stack...

    and install again

    but it still not run...

  • i'm using CCS901, TIRTOS 2_20_1_08, BLE SDK 2.2.1 and TI v5.2.6 compiler, project imported from C:\ti\simplelink_academy_01_11_00_0000