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/CC-DEVPACK-DEBUG: Debug error

Part Number: CC-DEVPACK-DEBUG
Other Parts Discussed in Thread: CC2650STK, SYSBIOS, CC2650

Tool/software: Code Composer Studio

Hello,

1. This error occur during debug the sensortag_cc2650stk_stack:

gmake[1]: *** [OSAL/osal.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:185: recipe for target 'all' failed.

2. This error occur during debug the sensortag_cc2650stk_app:

error: xdc.cfg.Program: "C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/cfg/Main.xs", line 275: TypeError: xdc.services.intern.xsr.Value$Obj@799d4f69::xdc.runtime.Error is not a function, it is object. (C:/ti/ccs1010/xdctools_3_61_02_27_core/packages/xdc/om2.xs#54)
xdctools_3_61_02_27_core\gmake.exe: *** [package.mak:202: package/cfg/app_ble_pem3.xdl] Error 1
js: "C:/ti/ccs1010/xdctools_3_61_02_27_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-2106586031-inproc] Error 1
gmake: *** [build-2106586031] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-2106586031' failed
gmake: Target 'all' not remade because of errors.

Please help me.

tqvm

  • tqvm,

    Software packages will be validated against specific versions of tools. I found a copy of the release notes for BLE stack 2.21 here: https://www.ti.com/download/freetools/release_notes_BLE_Stack_2_2_1.html

    For #1 I can't see the error message that caused the build failure but the mention of osal.obj makes me believe that this is an issue with the software for your cc2650 not being compatible with the latest C compiler that comes with Code Composer Studio.  That can be resolved by downloading and installing an older compiler and ensuring that your project is set to use it.

    This video shows how to install an older compiler.  I would suggest installing an ARM 18.12.x compiler.  The package looks like it was built with the very old 5.2.x compiler which you could also install.

    https://www.youtube.com/watch?v=HyDJwKFu6EQ

    The second error is likely from something similar where you need to be using the version of XDCTools that is compatible with the software you are using.  Looking at the release notes I see 3.32 mentioned.  That can be downloaded here:

    http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/

    Once the necessary tools are install you can change what the project is using in the project properties here:

    Compiler version is at the bottom of my capture

    XDCTools is listed under products and can be changed by clicking Edit.

    Regards,

    John