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/LAUNCHXL-CC2640R2: BLE TI Drivers Project Zero

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am using CCS Version : 9.1.0.00010 , compiler TI v18.12.2.LTS and SDK (simplelink_cc2640r2_sdk_3_20_00_21),

I get following error log when compiling empty driver sample.


**** Build of configuration Debug for project tirtos_builds_CC2640R2_LAUNCHXL_release_ccs ****

"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

making ../src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
asmem3 C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
gmake[1]: Leaving directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
asmem3 C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
gmake[1]: Leaving directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
asmem3 C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
gmake[1]: Leaving directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
asmem3 C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
gmake[1]: Leaving directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
clem3 C:/ti/simplelink_cc2640r2_sdk_3_20_00_21/kernel/tirtos/packages/ti/sysbios/BIOS.c ...

>> Compilation failure
makefile:59: recipe for target 'rom_sysbios.obj' failed

INTERNAL ERROR: C:\ti\ccs910\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\bin\armopt.exe experienced a segmentation fault
while processing function <unknown> file C:\\Users\\rpb638\\AppData\\Local\\Temp\\{88ECB64A-1BAC-4E66-8EBC-35EF7066D1C5}

This is caused by a defect in the TI C/C++ Optimizer.
TI Customer Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".

We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment

gmake[1]: *** [rom_sysbios.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sysbios/rom_sysbios.aem3] Error 2
gmake[1]: Leaving directory 'C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/rom_sysbios.aem3' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hi,

    Now I get following error

    gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 1
    gmake: *** [C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/makefile.libs:57: C:/Users/rpb638/workspace_v9/CC2640R2/tirtos_builds_CC2640R2_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_03_28_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    Please advise how to over come this error

    thanks,

    regards,

    Lasantha

  • Hi Lasantha,

    I am not able to reproduce the error you see. Did you make any code changes? This is the steps I take:

    1) Open CCS 9.1.0

    2) Import project from C:\ti\simplelink_cc2640r2_sdk_3_20_00_21\examples\rtos\CC2640R2_LAUNCHXL\drivers\empty\tirtos\ccs

    3) Build the empty project.

    I don't get any build errors.

    I am not sure why you are seeing this, can you try the following:

    a) Use a new CCS workspace, make sure the workspace name has no blank spaces.

    b) Re-install the SimpleLink CC2640R2 SDK, double-check that you have the correct xdctools version installed.