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/SIMPLELINK-CC26X2-SDK: CC26x2 Zigbee TI-RTOS problem

Part Number: SIMPLELINK-CC26X2-SDK

Tool/software: Code Composer Studio

Hi every one.

I'm trying to import zc_light  project example in simplelink_cc13x2_26x2_sdk_2_40_00_81, but i cannot build success.

This is my setup

1. Import project

2. Project option:

XDC tool

3. Compile console

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O 
 
Building file: "../app.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source;C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/kernel/tirtos/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC2652R1F -r release -c "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/StartUp\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/LaunchPad\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/Services\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/ui\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/util\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Application/ZStackApi\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Common/gp\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Common/touchlink\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Common/zcl\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/af\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/bdb\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/Config\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/gp\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/MAC/HAL/target\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/MAC/HighLevel\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/MAC/LowLevel\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/MAC\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/nwk\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/osal_port\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/ROM\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/sec\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/sys\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/zdo\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/zmac\" --include_path=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/Stack/ZStackTask\" --include_path=\"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/include\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/examples/rtos/CC26X2R1_LAUNCHXL/zstack/zc_light\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/mt\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/services/src/appasrt\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/af\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/bdb\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/bdb/touchlinkapp\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/gp\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/api\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/nwk\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/sec\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/sys\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/zcl\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/zdo\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/zmac\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/zmac/f8w\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/stack/ui\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/fh\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/high_level\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/inc/cc13xx\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/low_level/cc13xx\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/tracer\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/hal/src/target/_common/cc13xx\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/rom\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/boards\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/boards/2_4g\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/heapmgr\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/osal_port\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/osal_port/osal_port_tirtos\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/osal/src/inc/\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/source/common/nv\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/util\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/util\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/config\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/startup\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/common/api/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/zstack/apps/light\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ti154stack/low_level/cc13xx/2_4g\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs\" --define=ZCL_READ --define=ZCL_DISCOVER --define=ZCL_WRITE --define=ZCL_BASIC --define=ZCL_IDENTIFY --define=ZCL_SCENES --define=ZCL_GROUPS --define=BDB_REPORTING --define=ZCL_ON_OFF --define=ZCL_LEVEL_CTRL --define=TIMAC_ROM_IMAGE_BUILD --define=TIMAC_ROM_PATCH --define=BOARD_DISPLAY_USE_UART --define=FREQ_2_4G --define=OSAL_PORT2TIRTOS --define=OSAL_PORT2TIRTOS_OSALMAP --define=RCN_APP_ASSERT --define=HAL_ASSERT_SPIN --define=ZDO_API_BASIC --define=TC_LINKKEY_JOIN --define=NV_RESTORE --define=NV_INIT --define=FEATURE_NON_BEACON_MODE --define=ZCL_STANDALONE --define=MAX_DEVICE_TABLE_ENTRIES=50 --define=DEVICE_FAMILY=cc26x0 --define=CC26X2R1_LAUNCHXL --define=DeviceFamily_CC26X2 --define=SET_CCFG_BL_CONFIG_BL_LEVEL=0x00 --define=SET_CCFG_BL_CONFIG_BL_ENABLE=0xC5 --define=SET_CCFG_BL_CONFIG_BL_PIN_NUMBER=0x0F --define=SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE=0xC5 -g --c99 --plain_char=unsigned --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --embedded_constants=on --unaligned_access=on --enum_type=packed --wchar_t=16 --abi=eabi --common=on --fp_reassoc=off --sat_reassoc=off --asm_directory=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/default\" --list_directory=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/default/obj\" --obj_directory=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/default/obj\" --temp_directory=\"C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/default\"  " "../app.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app.xem4f from package/cfg/app_pem4f.cfg ...
generating custom ROM library makefile ... 
Starting build of library sources ...
making C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/src/sysbios/rom_sysbios.aem4f ...
Build of libraries failed.
subdir_rules.mk:24: recipe for target 'build-1741113665-inproc' failed
process_begin: CreateProcess(NULL, C:\msys32\usr\bin -C C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/src/sysbios, ...) failed.
make (e=5): Access is denied.
 
gmake: *** [C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/src/makefile.libs:57: C:/Users/huybk213/workspace_v9/zc_light_CC26X2R1_LAUNCHXL_tirtos_ccs/src/sysbios/rom_sysbios.aem4f] Error 5
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
 
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/app_pem4f.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/app_pem4f.xdl'
gmake.exe: *** [package/cfg/app_pem4f.xdl] Deleting file 'package/cfg/app_pem4f.h'
gmake.exe: *** [package/cfg/app_pem4f.xdl] Deleting file 'package/cfg/app_pem4f.c'
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1741113665-inproc] Error 1
gmake: *** No rule to make target 'build-1741113665', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

4. Error code

5. Install PATH

I take so many time but I cannot resolve that problem, please help me.

Thank you so much!