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.

SYS BIOS PROJECT BUILD ERROR IN CCSV6

Other Parts Discussed in Thread: SYSBIOS

Hello All,

                   I have just installed CCSV6 IDE on my PC. Also, i have created SYS BIOS project in it. Here, i have used OMAPL-137 processor. But, whenever i compile it . Then, it is giving me the below error. 


**** Build of configuration Debug for project TEST_BIOS ****

"D:\\CCS V6 INSTALLATION FOLDER\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../app.cfg'
'Invoking: XDCtools'
"D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core/xs" --xdcpath="D:/CCS V6 INSTALLATION FOLDER/bios_6_45_00_20/packages;D:/CCS V6 INSTALLATION FOLDER/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evmOMAPL137 -r release -c "D:/CCS V6 INSTALLATION FOLDER/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0B1" --compileOptions "-g --optimize_with_debug" "../app.cfg"
D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core\packages\xdc\bld\xdc.mak:242: *** can't find specified XDCROOT: D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core. Stop.
js: "D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Whenever i create a normal C project or whenever i import normal c project it works fine without any issues.

Also, i have installed bios_setupwin32_6_45_00_20 file.

Can you please let me know what exactly is the problem??

Waiting for your reply at the earliest!!

Thanks & Regards

Naveen Chandra

  • Dear Naveen,
    I'm able to create a new SYSBIOS project and build successfully.

    Please use the appropriate XDC tool for SYSBIOS.

    SYSBIOS: bios_6_45_00_19
    XDC tool: xdctools_3_31_02_38_core

    Also I've used, SYS/BIOS -> TI Target examples -> Typical -> Next -> Target as "ti.targets.elf.C674" and Platform as "ti.platforms.evm6747" -> Then "Finish"



    **** Build of configuration Debug for project Test_SYSBIOS ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_31_02_38_core/xs" --xdcpath="C:/ti/bios_6_45_00_19/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evm6747 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0" --compileOptions "-g --optimize_with_debug" "../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.xe674 from package/cfg/app_pe674.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/10607926/workspace_v6_1/Test_SYSBIOS/src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/Users/10607926/workspace_v6_1/Test_SYSBIOS/src/sysbios'
    cle674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/BIOS.c ...
    "C:/ti/bios_6_45_00_19/packages/ti/sysbios/knl/Semaphore.c", line 234: remark #2142-D: comparison between signed and unsigned operands
    "C:/ti/bios_6_45_00_19/packages/ti/sysbios/timers/timer64/Timer.c", line 775: remark #2142-D: comparison between signed and unsigned operands
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    asme674 C:/ti/bios_6_45_00_19/packages/ti/sysbios/timers/timer64/Timer_asm.s64P ...
    are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj ...
    gmake[1]: Leaving directory `C:/Users/10607926/workspace_v6_1/Test_SYSBIOS/src/sysbios'
    Build of libraries done.
    cle674 package/cfg/app_pe674.c ...
    'Finished building: ../app.cfg'
    ' '
    1 file(s) copied.
    making ../src/sysbios/sysbios.ae674 ...
    gmake[1]: Entering directory `C:/Users/10607926/workspace_v6_1/Test_SYSBIOS/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/Users/10607926/workspace_v6_1/Test_SYSBIOS/src/sysbios'
    'Building file: ../main.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6740 --abi=eabi --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.pp" --cmd_file="configPkg/compiler.opt" "../main.c"
    'Finished building: ../main.c'
    ' '
    'Building target: Test_SYSBIOS.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x" -mv6740 --abi=eabi -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"Test_SYSBIOS.map" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="Test_SYSBIOS_linkInfo.xml" --rom_model -o "Test_SYSBIOS.out" "./main.obj" -l"configPkg/linker.cmd" -l"libc.a"
    <Linking>
    'Finished building target: Test_SYSBIOS.out'
    ' '

    **** Build Finished ****
  • Dear Titus,
    Thanks for your quick reply.
    Here, am using the below packages.

    SYSBIOS: bios_6_45_00_20
    XDC tool: xdctools_3_31_00_24_core

    Will these software packages create a problem??

    Because of these files you are saying that am getting the above errors??

    Waiting for your reply at the earliest!!


    Thanks & Regards
    Naveen Chandra
  • Also it depends on how did you create the SYSBIOS project ?
    Have you tried to create a SYSBIOS project like below ?

    SYS/BIOS -> TI Target examples -> Typical -> Next -> Target as "ti.targets.elf.C674" and Platform as "ti.platforms.evm6747" -> Then "Finish"
  • Dear Titus,

    I have created the project in the same way which you have mentioned me.But, still am getting these below errors.


    **** Build of configuration Debug for project TEST_SYS_BIOS ****

    "D:\\CCS V6 INSTALLATION FOLDER\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../app.cfg'
    'Invoking: XDCtools'
    "D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core/xs" --xdcpath="D:/CCS V6 INSTALLATION FOLDER/bios_6_45_00_20/packages;D:/CCS V6 INSTALLATION FOLDER/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evmOMAPL137 -r release -c "D:/CCS V6 INSTALLATION FOLDER/ccsv6/tools/compiler/c6000_7.4.14" --compileOptions "-g --optimize_with_debug" "../app.cfg"
    D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core\packages\xdc\bld\xdc.mak:242: *** can't find specified XDCROOT: D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core. Stop.
    js: "D:/CCS V6 INSTALLATION FOLDER/xdctools_3_31_00_24_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    Infact, when i had created the project earlier in the other PC i had follow the same steps. Then, i was able to build it without any errors.

                       Please do find the screen shots attached to the mail.

    Please do let know how do i solve this issue.

    Waiting for your reply at the earliest!!

    Thanks & Regards

    Naveen Chandra

  • Dear Titus,
    Please let me know what exactly is the issue!!
    Have i missed out any setup files while installing the CCS IDE.

    Kindly let me know asap!!

    Waiting for your reply at the earliest!!


    Thanks & Regards
    Naveen Chandra
  • Dear Titus,

                           I have installed the same CCSV6 and SYS_BIOS software versions on the other PC(PC1). It is working fine But, i really don't understand what exactly is the issue with my current PC(PC2).

    Please let me know what exactly is the issue. Also, let me know if i need to install any other supporting softwares for the SYS_BIOS.

    Waiting for your reply at the earliest!!

    Thanks & Regards

    Naveen Chandra                                         


  • I have installed the same CCSV6 and SYS_BIOS software versions on the other PC(PC1). It is working fine But, i really don't understand what exactly is the issue with my current PC(PC2).

    By looking into your screen shots, you have installed the CCS and BIOS packages in D drive, its better to install in C drive.

    In which location you have installed the CCS and packages in PC1 ?
  • Dear Titus,

                           I don't think drives will matter while installing the software packages. Anyways, in the both PC's(PC1 & PC2) i have installed the CCSV6 and SYS_BIOS software packages in D drive itself.

    Can you please tell me exactly what does the error mean??

    I mean to say when will these errors pop up?? what is the reason behind it??

    Waiting for your reply at the earliest!!

    Thanks &Regards

    Naveen Chandra

  • Hi Titus, 

                     Can you please let me know what exactly is the issue for the above errors??

                    Am not able the find the right solution for this. kindly let me know the solution for the same!!

    Waiting for your reply at the earliest!!

    Thanks & Regards

    Naveen Chandra

  • Can you please import working SYSBIOS project from PC1 and build it on PC2 ?
    I presume that you used the same SYSBIOS and XDC versions for the project.