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.

TMS320C6747 problem using examples

Other Parts Discussed in Thread: TMS320C6747, OMAP-L137, TMDSOSKL137

HI all,

I have succeed to install the Drivers for TMS320C6747.

The problem is that once I have imported an project like "uartSample" does not compile and I am receiving the following message :

Build file generation error occurred..

This project was created using a version of compiler that is not currently installed: 6.1.9 [C6000].

The copiler seems to be up to date since there are no available updates when I check for them,,,,,

My CCS version is Version: 6.1.3.00033 

I am probably missing something here..... 

Thank you,

Cristian

  • Dear Cristian,
    Able to import the UART example into CCS ?
    If yes, change the compiler settings  and resolve the location path in CCS properties and rebuild the project.
    Can you please attach the screen shot of the problem ?

  •  Hi Titus,

    I have imported the usart example in the CCS.

    Can you guide about those changes that need to be made?  I have attached the print screen 

    I'm new to CCS and this kink of stuff.....

    Thank you,

    Cristian

  • Hi,

    Please go through the projects and build handbook for CCS below which would help you to troubleshoot CCS common build errors as well, creating, importing, building new CCS projects and would help in project configuration settings etc.:

    processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS

    Thanks & regards,
    Sivaraj K
  • Hi Cristian,
    I presume that it needs older C6000 CGT compiler tool which needs to be built for this examples and the later version of CCS doesn't have that version.
    So, can you please download and install the mentioned CGT tool through CCS' "Software Center"

    Please let us know if you are not able to proceed further.
  • Hi Shankari,

    I have insatalled everything but still don't work....

    Cristian
  • Can you tell me please where I can find CGT 6.1.9 for C6000 DSP ?

    I can not a place to download this.

    Cristian
  • CGT download link:
    software-dl.ti.com/.../download.htm
    Here, you can get CGT version 6.1.9 but its for C2000, you should install C6000 based compiler.
    So install the 7.3.0 and try.
    software-dl.ti.com/.../self_cert_export.html

    Also attach your project, let me try to build it for you.
  • Hi Cristian,

    1. It is always better to migrate your project to the version of CGT that your CCS version (6.1.3.00033 ) is compatible with. If don't want to use the latest CGT, try to adjust the project properties after downloading and installing the appropriate CGT version that is mentioned int he error message.

    2. You can check your currently installed compilers under Window->Preferences->Code COmposer Studio->Build->Code Generation Tools. ( Refer the screenshot below to choose the CGT version in your setup )

    3. If you can specify the name of the TI package from which you got this example, we will be able to give you the step by step procedure to buildit in CCS.

  • Hi   Shankari,

    First of all , I need to tell you that I don't have a development board for the device right now.

    A custom made board is under development for TMS320C6747 and is not ready yet.

    Meanwhile, I am trying to compile the examples  made for development board that comes from TI with OPMAP L137. Accodingly with the TI specifications it's the same board used for DSP only TMS320C6747.  (  OMAP-L137/TMS320C6747 Floating point starter kit , TI Name : TMDSOSKL137 )

    Somehow, it seems that those examples for the Dev Board can not be complied with newer BIOS versions , I don't know why.

    I did not encountered the same problem  when it comes about DSP library provided also by TI.

    Even if I have installed the version requested by the following error, the result is the same:

    **** Build Finished ****

    Buildfile generation error occurred..
    This project was created using a version of DSP/BIOS tools that is not currently installed: 5.41.2.14. Please install the DSP/BIOS tools of this version, or migrate the project to one of the supported versions.
    Build stopped..

    In the development board specifications I saw that CCS that comes with the board is "tied" somehow to this board.... Could be this the problem since 

    I am trying to complile the examples for the board with the CCS from TI website ??? Examples are somehow build just for the CCS that comes with the board  and associated bios ?? 

    Thank you very much for the help,

    Cristian Tanase

  • Hi Titus,

    Thank you for your answer.
    I could send you the project but part of the files are "Linked" in the current project.
    Is there a way to export the project with all the dependencies ?

    If not, let's say that compiling any of the examples for the Development Kit TMDSOSKL137 would work for me.




    Cristian.
  • Which package are you trying to run ?
    So that I can download it and build it on CCSv6.
  • I am using evm6747 Package.

    Please see attached.

    The CCS is the last one, up to date.

    Cristian

  • What I meant to ask you is that "what is the package name & version" ??
    PSP BIOS or QuickCSL
    Ex:
    C:\ti\pspdrivers_01_30_01\packages\ti\pspiom\examples\evm6747
    C:\ti\quickStartOMAPL1x_rCSL\OMAPL1x\rCSL_examples\evmOMAPL137
  • C:\Program Files\Texas Instruments\pspdrivers_01_30_01\packages\ti\pspiom\examples\evm6747

    I am using the 01_30_01 and examples for evm 6747.

    Regards,
    Cristian
  • Dear Cristian,

    I'm able to build the UART example project on CCSv6.

    Here is the log:

    I chosen the Compiler version v7.4.4

    **** Build of configuration Debug for project uartSample ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all

    'Building file: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/uartSample.tcf'

    'Invoking: TConf'

    "C:/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_01_09/packages;" "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/uartSample.tcf"

    'Finished building: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/uartSample.tcf'

    ' '

    'Building file: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/src/uartSample.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/pspdrivers_01_30_01/packages" --include_path="C:/ti/edma3_lld_01_10_00_01/packages" --display_error_number --issue_remarks --diag_wrap=off --obj_directory="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug" --preproc_with_compile --preproc_dependency="uartSample.pp"  "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/src/uartSample.c"

    'Finished building: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/src/uartSample.c'

    ' '

    'Building file: uartSamplecfg.s??'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/pspdrivers_01_30_01/packages" --include_path="C:/ti/edma3_lld_01_10_00_01/packages" --display_error_number --issue_remarks --diag_wrap=off --obj_directory="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug" --preproc_with_compile --preproc_dependency="uartSamplecfg.pp"  "uartSamplecfg.s??"

    'Finished building: uartSamplecfg.s??'

    ' '

    'Building file: uartSamplecfg_c.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/pspdrivers_01_30_01/packages" --include_path="C:/ti/edma3_lld_01_10_00_01/packages" --display_error_number --issue_remarks --diag_wrap=off --obj_directory="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug" --preproc_with_compile --preproc_dependency="uartSamplecfg_c.pp"  "uartSamplecfg_c.c"

    'Finished building: uartSamplecfg_c.c'

    ' '

    'Building target: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/../../../bin/Debug/uartSample.out'

    'Invoking: C6000 Linker'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 --abi=coffabi -g --display_error_number --issue_remarks --diag_wrap=off --obj_directory="C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug" -z -m"C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/bin/Debug/uartSample.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" -i"C:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_42_01_09/packages/ti/bios/lib" -i"C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample" -i"C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3" -i"/lib" -i"C:/ti/edma3_lld_01_10_00_01/packages" -i"C:/ti/pspdrivers_01_30_01/packages" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="uartSample_linkInfo.xml" --rom_model -o "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/../../../bin/Debug/uartSample.out" "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug/uartSample.obj" "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug/uartSamplecfg.obj" "C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/Debug/uartSamplecfg_c.obj" -l"./uartSamplecfg.cmd" -l"../uartSample_Debug.cmd"

    <Linking>

    "./uartSamplecfg.cmd", line 384: remark #10191-D: object ".printf" is not allocated, but is being placed as part of allocated object "GROUP_1"

    'Finished building target: C:/ti/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6747/uart/edma/build/ccs3/uartSample/../../../bin/Debug/uartSample.out'

    ' '

    **** Build Finished ****


  •  Dear Titus,

    Plase please help me with a link where I can download the version of compiler that you have and also that version of the BIOS.

    Plase see attached:

    Cristian

  • XDCtools download page:

    DSP/BIOS download page:

    This is the settings I used to build the UART example from PSP package.

  •  Hi Titus,

    I have the same think like you now.

    The error is different but still  does not compile.

    DSP/BIOS    5.42.1.09

    Compiler 7.4.4

    See attached please.

    Thank you,

    Cristian

  • Look like you have mentioned "\" and "/" (mixed both) in  include or library path.

    Can you please check ?

    Not sure, it could be the problem.

    Try to delete the debug folder and do REBUILD the project (not just build alone)