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.

LAUNCHXL-CC2640R2: AOA rtls project build issue

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640, BLE-STACK

Dear Support team

I want to work AOA demo with  CC2640R2-LAUNCHXL and BOOSTXL-AoA board and downloaded CC2640R2 SDK ver 2.4.0.

However it seems that the project can not be build. How can I build it correctly?

<CCS ver: 8.3.0>

<Project path:C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\rtls_slave>

<capture>

Regards

Tomohiro Nagasawa

  • Hi,
    Please see the "known issues" post for help on this: e2e.ti.com/.../770218
  • Hello Joakim-san

    Thank you for quick response.

    I tried to fix below 1 issue, but error is not reduced.

    1. The out of box project for rtls_master and rtls_slave have build error due to the stack_library.projectspec is pointing to a wrong version of XDCTools. (CCS)


    In the first place, when importing a project, I can not check both App and Stack, but is this a problem? 

    Could you give sample project without error?

    Regards

    Tomohiro Nagasawa

  • No, when you pick up an app project, it will also pick up the corresponding stack project, so that’s not an issue. Please modify the stack projectspec file, and do a build on a stack project first.
  • Are you able to solve the issue? If yes, I would like to close this thread.
  • Closing thread due to inactivity.
  • Hello Chiristin-san

    Sorry for late response.

    I tried to modify the stack projectspec file a few times, but the error does not go away.
    Could you give  a built project file or hex file?
    Regards
    Tomohiro Nagasawa
  • Hi,

    When you fixed the projectspec, you need to reimport the project again. And the please make sure you use the correct CCS version and TI Compiler version which is stated in the release note.

    TI Code Composer Studio: CCS-8.3.0.00009
    TI Code Generation Tools for ARM: 8.1.4.LTS

    If you are still seeing error after all these, please follow the instruction below and we will try to solve it for you.
    It's better that we get you up and running instead of just providing hex files.

    Q: I’m still getting build errors of some kind.

    A: Please use the E2E "Insert Code, Attach Files and more" option and attach your IAR or CCS build log (paperclip icon). Note that for IAR, you must enable the build log: Tools -> Options -> Messages -> Log build messages to file. Please compress the file as needed. Attaching the build file, and not just the snippet showing the error, is critical to determine the build environment and other factors needed to diagnose your build error.
  • Hello Christin-san

    Thank you for kindly support.

    I'm still getting build errors. 

    Please see below build log.

    CCS-8.3.0.00009

    ARM:v18.1.4.LTS

    Build log(app).txt

     

    Build log(stack).txt

    Regards

    Tomohiro Nagasawa

  • Hi,

    It looks like the lib search is somehow not working on your PC.
    Can you specify your PC version and operating system? Is it window 10? Is it 64-bit or 32-bit?

    Can you copy the following into cmd.exe and run it from there?
    "
    C:/ti/simplelink_cc2640r2_sdk_2_40_00_32/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/Users/nagasawa-tomohiro/workspace_v8_16/rtls_master_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_2_40_00_32/source/ti/blestack/blelib C:/Users/nagasawa-tomohiro/workspace_v8_16/rtls_master_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_2_40_00_32/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_2_40_00_32/source/ti/blestack/symbols
    "
    This usually gives us more information regarding why it failed.

    Can you double check whether the following statement is true in your PC?
    A: First verify you are using the required minimum CCS IDE version and TI Compiler version specified in the Release Notes for the respective SDK. Also, do not use a space in the BLE-Stack SDK path and your CCS workspace or Windows %APPDATA% path. Using a white space in these paths will result in a build error. It is also advisable to install the SDK to the default location to confirm your setup is working correctly. In addition, the pre-build steps may fail if there is a version of Cygwin in your Windows PATH before XDCTools. It is recommended to adjust your PATH such that no other versions of Cygwin are found before XDCTools.
  • Hi,

    I have not heard back from you for a week, are you able to try my suggestion?
    Or did you solve it eventually?
  • Close the thread due to inactivity.
  • Hello Chiristin-san

    Sorry for delay response.

    I have succeed in build and load project with other PC.

    It seems PC issue as you say.

    Regards

    Tomohiro Nagasawa

  • HI, Christin 

    I also encounter this problem when test C:\ti\simplelink_cc2640r2_sdk_2_30_00_28\examples\rtos\CC2640R2_LAUNCHXL\blestack\aoa_receiver examples,  like following errors...

    error #10008-D: cannot find file "D:/xxx/tiaoa/workspace/aoa_receiver_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
    error #10008-D: cannot find file "D:/xxx/tiaoa/workspace/aoa_receiver_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"

    undefined first referenced
    symbol in file
    --------- ----------------
    ATT_BuildErrorRsp <whole-program>
    ATT_BuildExchangeMTURsp <whole-program>
    ATT_BuildFindByTypeValueRsp <whole-program>
    ATT_BuildFindInfoRsp <whole-program>

    ......

    error #10234-D: unresolved symbols remain

    CCS version: Version: 8.3.0.00009 

    System version: Windows7 32bit version

    when did someting linke this, C:/ti/simplelink_cc2640r2_sdk_2_40_00_32/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/Users/,   it says:

    lib_search  is not compatible with your system...

    Can you help to find what's the problem? 

    Thansks

    F.L. 

  • Can you use another PC that has 64 bit version and test again?
  • Hi,Christin

    Thanks for your reply, I used another 64-bit system, and it works fine. 

    B&R

    F.L.

  • Hi,

    This is fixed in 3.10 SDK, which can be downloaded here:

    http://www.ti.com/tool/SIMPLELINK-CC2640R2-SDK