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/CC2640R2F: CC2640 R2 stack can not be built

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640

Tool/software: TI-RTOS

CC2640 R2 stack can not be built when using IAR 7.80.2 

  • Can you supply the error message in English?
  • When we started to build the stack in IAR, the IAR system popped out the the error window like the picture enclosed.

     The bottom words in chinese mentioned: 1% of the version can not be compatiable with our windows system, please check the window system infomation, and contack the software supplier.

    Actually, we run the software in WINDOWS 7, 32BIT/WINDOWS 7, 64BIT/WINDOW 10, 32BIT, all failed.

    Thanks.

  • Hi,

    It seem like it's IAR issue on Chinese version. We are contacting IAR for solving the problems now.

    In the meantime, can you try to use IAR 7.80.2 to open BLE stack 2.2.1 to see if this msg still pops up?

    Thanks for your patience.
  • Hi,

    There is a new release of IAR 7.80.3, can you try using that one?

    Also can you try to right click on lib_search.exe file and check the Compatibility and do trouble shooting there.

  • Hi Christin,

    a customer has the same issue here described on a W7 SP1 32bit system.

    Lib_Search.exe returns an error message because of incompatibilities with windows.

    I run the customer's executable on my PC ( W7 SP1 64Bit ) without any issue .

    Compatibilit troubleshootern didn't help .

    The only difference I can now point out is the 32bit vs 64bit  .

    Paolo

  • Hi Paolo,

    We are looking into this issue internally. The lib_search tool is responsible for mapping the options in the build_config.opt file to the ble libraries shipped with the SDK. to unblock the customer you can have them create their own lib_linker.cmd file based on their needed stack configuration.

    For example, the default one for Simple BLE Peripheral is:

    /*
     * DO NOT MODIFY. This file is automatically generated during the pre-build
     *                step by the lib_search utility
     */
    
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\ctrl\cc2640_hci_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\ctrl\cc2640_ll_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\hci_tl\cc26xx_hci_tl_none.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_att_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_gap_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_gatt_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_l2cap_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_profiles_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_smp_pxxx_sc.a"
    "C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\source\ti\blestack\blelib\host\cc26xx_sm_pxxx_sc.a"

    If you paste this at: C:\ti\simplelink_cc2640r2_sdk_1_00_00_22\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\config\lib_linker.cmd

    then the project will run.

  • Hi Sean,

    can you describe in details the steps I need to follow in order to overcome the blocking point ?

    thanks,
    Paolo
  • I also had this problem. I used lib_search.py and python to create a new lib_search.exehttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/lib_5F00_search.7z