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.
Tool/software: Code Composer Studio
Hi,
I'm trying to get the project zero to work for this devkit. But on compilation, On building project_zero_cc2640r2lp_app I keep getting an error:
<Linking>
error #10008-D: cannot find file "C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
error #10008-D: cannot find file "C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"
I've tried all the suggestions from the posts but none seem to work.
- no spaces in workspace
- user privileges of the SDK
- install directory of the SDK to c:\ti
Both these files aren't available in the directory build by the project_zero_cc2640r2lp_stack_library. Also the project_zero_cc2640r2lp_stack_library throws out a error/warning.
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/ti/workspace/project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/blelib C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/symbols
makefile:200: recipe for target 'pre-build' failed
process_begin: CreateProcess(C:\ti\simplelink_cc2640r2_sdk_3_30_00_20\tools\blestack\lib_search\lib_search, C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/ti/workspace/project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/blelib C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/symbols, ...) failed.
make (e=193): Error 193
gmake[1]: [pre-build] Error 193 (ignored)
I'm using:
- Windows 10 system with the latest updates
- Code Composer Studio Version: 9.3.0.00012 installed at c:\ti
- SimpleLink CC2640R2 SDK v 3.30.00.20
- Workspace location has no whitespaces in it
- All latest versions, downloaded and installed today (2020-01-05)
Any help on this please.
dizz said:I'm trying to get the project zero to work for this devkit. But on compilation, On building project_zero_cc2640r2lp_app I keep getting an error:
<Linking>
error #10008-D: cannot find file "C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
error #10008-D: cannot find file "C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"
The reason for this failure when building project_zero_cc2640r2lp_app is that the project it is dependent on (project_zero_cc2640r2lp_stack_library) had build failures.
The project_zero_cc2640r2lp_stack_library is failing in the pre-build step. In one previous instance we have seen this happen when anti-virus blocks the lib_search executable from running. Are you running any anti-virus and if so, are you able to temporarily disable it and try again?
Also is your Windows 10 system 32-bit or 64-bit?
Here is the complete [edited: relevant] console output of the build of project_zero_cc2640r2lp_stack_library
**** Clean-only build of configuration FlashROM_Library for project project_zero_cc2640r2lp_stack_library ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O
DEL /F "project_zero_cc2640r2lp_stack_library.lib"
DEL /F "HAL\Common\hal_assert.obj" "HAL\Target\CC2650\Drivers\hal_flash_wrapper.obj" "HAL\Target\CC2650\Drivers\hal_rtc_wrapper.obj" "HAL\Target\CC2650\Drivers\hal_trng_wrapper.obj" "HAL\Target\CC2650\_common\mb_patch.obj" "Host\gatt_uuid.obj" "ICallBLE\ble_dispatch_JT.obj" "ICallBLE\ble_dispatch_lite.obj" "ICallBLE\icall_lite_translation.obj" "NPI\npi.obj" "OSAL\osal.obj" "OSAL\osal_bufmgr.obj" "OSAL\osal_cbtimer.obj" "OSAL\osal_clock.obj" "OSAL\osal_memory_icall.obj" "OSAL\osal_pwrmgr.obj" "OSAL\osal_snv_wrapper.obj" "OSAL\osal_timers.obj" "PROFILES\gap.obj" "PROFILES\gapbondmgr.obj" "PROFILES\gattservapp_util.obj" "PROFILES\sm_ecc.obj" "ROM\common_rom_init.obj" "ROM\rom_init.obj" "Startup\ble_user_config.obj" "Startup\icall_startup.obj" "Startup\osal_icall_ble.obj" "TOOLS\onboard.obj"
DEL /F "HAL\Common\hal_assert.d" "HAL\Target\CC2650\Drivers\hal_flash_wrapper.d" "HAL\Target\CC2650\Drivers\hal_rtc_wrapper.d" "HAL\Target\CC2650\Drivers\hal_trng_wrapper.d" "HAL\Target\CC2650\_common\mb_patch.d" "Host\gatt_uuid.d" "ICallBLE\ble_dispatch_JT.d" "ICallBLE\ble_dispatch_lite.d" "ICallBLE\icall_lite_translation.d" "NPI\npi.d" "OSAL\osal.d" "OSAL\osal_bufmgr.d" "OSAL\osal_cbtimer.d" "OSAL\osal_clock.d" "OSAL\osal_memory_icall.d" "OSAL\osal_pwrmgr.d" "OSAL\osal_snv_wrapper.d" "OSAL\osal_timers.d" "PROFILES\gap.d" "PROFILES\gapbondmgr.d" "PROFILES\gattservapp_util.d" "PROFILES\sm_ecc.d" "ROM\common_rom_init.d" "ROM\rom_init.d" "Startup\ble_user_config.d" "Startup\icall_startup.d" "Startup\osal_icall_ble.d" "TOOLS\onboard.d"
Finished clean
**** Build Finished ****
**** Build of configuration FlashROM_Library for project project_zero_cc2640r2lp_stack_library ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/ti/workspace/project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/blelib C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/symbols
makefile:200: recipe for target 'pre-build' failed
process_begin: CreateProcess(C:\ti\simplelink_cc2640r2_sdk_3_30_00_20\tools\blestack\lib_search\lib_search, C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/ti/workspace/project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/blelib C:/ti/workspace/project_zero_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/symbols, ...) failed.
make (e=193): Error 193
gmake[1]: [pre-build] Error 193 (ignored)
Building file: "C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/hal_trng_wrapper.c"
Invoking: ARM Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armcl" --cmd_file="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/config/build_components.opt" --cmd_file="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/config/factory_config.opt" --cmd_file="C:/ti/workspace/project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="C:/ti/workspace/project_zero_cc2640r2lp_stack_library" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/controller/cc26xx_r2/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/rom" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/common/cc26xx/npi/stack" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/examples/rtos/CC2640R2_LAUNCHXL/blestack/project_zero/src/stack" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/icall/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/profiles/roles" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/icall/src/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/npi/src" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/osal/src/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/aes/cc26xx" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/nv/cc26xx" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/nv" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/services/src/saddr" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/devices/cc26x0r2" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/devices/cc26x0r2/rf_patches" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/devices/cc26x0r2/inc" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source" --include_path="C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/kernel/tirtos/packages" --include_path="C:/ti/ccs930/xdctools_3_60_02_34_core/packages" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/include" --define=CC26XX --define=CC26XX_R2 --define=DeviceFamily_CC26X0R2 --define=EXT_HAL_ASSERT --define=FLASH_ROM_BUILD --define=GATT_NO_CLIENT --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=OSAL_CBTIMER_NUM_TASKS=1 --define=OSAL_SNV=1 --define=POWER_SAVING --define=STACK_LIBRARY --define=USE_ICALL -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="HAL/Target/CC2650/Drivers/hal_trng_wrapper.d_raw" --obj_directory="HAL/Target/CC2650/Drivers" "C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/hal_trng_wrapper.c"
Finished building: "C:/ti/simplelink_cc2640r2_sdk_3_30_00_20/source/ti/blestack/hal/src/target/_common/hal_trng_wrapper.c"
[edited]
TL;DR
[edited]
Building target: "project_zero_cc2640r2lp_stack_library.lib"
Invoking: ARM Archiver
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.4.LTS/bin/armar" r "project_zero_cc2640r2lp_stack_library.lib" "./HAL/Common/hal_assert.obj" "./HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj" "./HAL/Target/CC2650/Drivers/hal_rtc_wrapper.obj" "./HAL/Target/CC2650/Drivers/hal_trng_wrapper.obj" "./HAL/Target/CC2650/_common/mb_patch.obj" "./Host/gatt_uuid.obj" "./ICallBLE/ble_dispatch_JT.obj" "./ICallBLE/ble_dispatch_lite.obj" "./ICallBLE/icall_lite_translation.obj" "./NPI/npi.obj" "./OSAL/osal.obj" "./OSAL/osal_bufmgr.obj" "./OSAL/osal_cbtimer.obj" "./OSAL/osal_clock.obj" "./OSAL/osal_memory_icall.obj" "./OSAL/osal_pwrmgr.obj" "./OSAL/osal_snv_wrapper.obj" "./OSAL/osal_timers.obj" "./PROFILES/gap.obj" "./PROFILES/gapbondmgr.obj" "./PROFILES/gattservapp_util.obj" "./PROFILES/sm_ecc.obj" "./ROM/common_rom_init.obj" "./ROM/rom_init.obj" "./Startup/ble_user_config.obj" "./Startup/icall_startup.obj" "./Startup/osal_icall_ble.obj" "./TOOLS/onboard.obj"
==> new archive 'project_zero_cc2640r2lp_stack_library.lib'
==> building archive 'project_zero_cc2640r2lp_stack_library.lib'
Finished building target: "project_zero_cc2640r2lp_stack_library.lib"
**** Build Finished ****
All,
The lib_search.exe shows up nice in my system.
It may be an operating system issue. Check question 4 of the following FAQ:
https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/770557
Regards,
Rafael
It's weird, maybe they had the wrong file for a bit and then updated the SDK or something.
I'm pretty sure that the lib_search file is the linux one, especially because on linux, the file isn't supposed to have any extension. I tried renaming it to stick .exe at the end and tried to run it. Windows complained it is not a valid application for this OS.
dizz said:Can I just use the exe in the FAQ? I'm using a 64bit system and the exe is 32-bit.
I'm using Windows 10-64 and that exe from the FAQ worked for me. I just dropped it in and the project zero example built successfully.
Ok, I just tested both SDK downloads - the one from Resource Explorer and the one from the TI web site (http://www.ti.com/tool/download/SIMPLELINK-CC2640R2-SDK).
The lib_search installed from Resource Explorer version was the wrong version, ie no .exe extension. The one from the web version was correct.
Looks like something is wrong in the ReX package and/or installation. A few other executables inside the /tools folder seem to be impacted as well.
I will file a bug report for this so it gets addressed. In the meantime, you can download SDK installer from the TI web and install from there to ensure that you get the correct complete package.
AartiG said:The lib_search installed from Resource Explorer version was the wrong version, ie no .exe extension. The one from the web version was correct.
Looks like something is wrong in the ReX package and/or installation
Ah! That must be it. I installed from ReX.
The tracking number for this issue is CCDSK-3778. Feel free to track it using the SDOWP link in my signature.