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.

RTOS/LAUNCHXL-CC1350: Commissioning Sensors in a Sub-1 GHz Network Over Bluetooth® low energy Reference Design Not working

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350

Tool/software: TI-RTOS

Hello All,

I am working on cc1350 launch pad. I am trying to Commission Sensors in a Sub-1 GHz Network Over Bluetooth® low energy Reference Design as per the instructions given in this reference design. But I am getting errors when i am trying to build Dual Image concept cc1350 lp app program. The error that i am getting is this:

#1965 cannot open source file "nvocop.h" 

After this when i commented out #include "nvocop.h" , I am getting this error:

#1965 cannot open source file "smartrf_settings.h" 

Somebody please help and tell me why this is not working??

 

  • Do you see "nvocop.h" linked inside the Application folder? It should automatically be linked from the original BLE SDK example. This file is necessary to switch from image B to image A.

    For "smartrf_settings.h", be sure to include "${PROJECT_LOC}/smartrf_settings" in the search path in your build settings.

    Skyler
  • Thanks for replying back Sir.

    1) Yes I am able to see "nvocop.h" inside the application folder.
    2) For "smartrf_settings", I have included this in search path as directed by you but after this i am getting the following errors.
    ERRORS:
    a) #20 identifier "NVINTF_itemID_t" is undefined
    Warnings
    a) #225-D</a> function "NVOCOP_initNV" declared implicitly
    b)#225-D</a> function "NVOCOP_readItem" declared implicitly
    c)#225-D</a> function "NVOCOP_writeItem" declared implicitly

    This are the errors and warnings that i am getting after making the changes directed by you.

    Please help me with this sir.

    Thanks and Regards,
    Shubham JIndal
  • There seem to be some include paths missing. Can you go to the include options in the project properties, highlight all the include paths, and paste them here? They should similar to "${CG_TOOL_ROOT}/include". Can you also confirm you are using ble_sdk_2_02_01_18?

    The warnings indicate that "nvocop.c" is not included in the project. Can you right-click the .c file and make sure that "Exclude from Build" is not checked?

    Skyler

  • This are the include paths in project properties. I am attaching them here:
    ${CG_TOOL_ROOT}/include
    "${PROJECT_LOC}/smartrf_settings"
    "${PROJECT_LOC}/sub1packetService"
    ${SRC_EX}/inc
    ${SRC_EX}/icall/inc
    ${SRC_EX}/profiles/roles/cc26xx
    ${SRC_EX}/profiles/roles
    ${SRC_EX}/profiles/dev_info
    ${SRC_EX}/common/cc26xx
    ${SRC_COMMON}/heapmgr
    ${SRC_BLE_CORE}/controller/cc26xx/inc
    ${SRC_COMMON}/hal/src/target/_common
    ${SRC_EX}/target
    ${SRC_COMMON}/hal/src/target/_common/cc26xx
    ${SRC_COMMON}/hal/src/inc
    ${SRC_COMMON}/osal/src/inc
    ${SRC_COMMON}/services/src/sdata
    ${SRC_COMMON}/services/src/saddr
    ${SRC_COMMON}/icall/src/inc
    ${SRC_BLE_CORE}/inc
    ${CC13XXWARE}

    Yes, I am using ble_sdk_2_02_01_18 only. I have checked .c file and now it is not excluded from build. But still I am getting the same errors and warnings. Please help me with this.

    Thanks and Regards,
    Shubham Jindal
  • It looks like you're missing "${SRC_COMMON}/services/src/nv/cc26xx". Add this and see if it builds without errors.

    Skyler

  • Hello Sir,
    Thanks for the reply but even after adding this file, I am getting the same errors which i have mentioned earlier. I am attaching the errors and warnings with this post. Please see to it and suggest what I am doing wrong.

    ERRORS:
    a) #20 identifier "NVINTF_itemID_t" is undefined
    Warnings
    a) #225-D</a> function "NVOCOP_initNV" declared implicitly
    b)#225-D</a> function "NVOCOP_readItem" declared implicitly
    c)#225-D</a> function "NVOCOP_writeItem" declared implicitly

    Thanks and Regards,
    Shubham
  • I'm not sure why it would still give you the first error - this should be solved by including the folder I mentioned. Also the warnings still indicate that nvocop.c is not included in the build. Can you first try doing a "clean build" and rebuild the project? If this doesn't work, my suggestion is to re-install the BLE SDK and begin again with the TI design user's guide.

    Skyler
  • First of all, Thanks for all the help and the suggestions.

    Do you think by re-installing it again I won't be getting the same errors?? One more thing, Can you please mention the reason why I am getting this errors??

    Thanks and Regards,
    Shubham Jindal
  • I would still suggest re-installing the SDK. We haven't seen those errors from anyone starting from a new SDK installation.