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.

TMS320F280049: Code generation tool

Part Number: TMS320F280049
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hello E2E Team,

1. Can anyone provide the details information about code generation tool? 

2. What is use and how I can use it? I am already using CCS but I want understand the CGT information.

3. How it is integrated?

Regards,

Dnyanesh

  • Hi Dnyanesh,

    The compiler is integrated in CCS. The compilers are also installed while installing the CCS. You can also install/update CGTs standalone and integrate it with CCS.

    If you are a beginner, I would suggest you go through some of the training materials

    When you build a CCS project, the compiler and the linker are getting invoked in the background to generate the .out. You can refer to this document for more information on the C2000 compiler v18.1:

    https://www.ti.com/lit/ug/spru514p/spru514p.pdf

    Can you be specific on what information you are looking for?

    Regards,

    Veena

  • Hi Veena,

    Good Day!

    Thanks for your reply.

    I am using CCS since last 8 years. I am very good in the ccs usage. Only I want to understand what exactly CGTs?

    Inside the CCS already compiler is installed normally. I am interested to understand CGTs. What exactly it is and what are benefits than CCS or it is part of CSS?

    Regards,

    Dnyanesh

  • CGT includes the C/C++ compiler and assembler for various cores. This is embedded in the CCS.

    Regards,

    Veena

  • Dear Veena,

    Good Day!

    Thanks for your reply. I am happy to listen your suggestion.

    C/C++ compiler and assembler was already included in the CCS since very long. There is separate software CGT is available on TI welsite. IS there any difference included/excluded in CCS. Or can we use this CGT separately something like this.

    Basically CGT is a part of CCS and no need any additional application to install that I understand from your statements.

    Just to understand more details about CGT. Does this tool generate C code for peripherals like STM32Cube and MPLABx??

    Regards,

    Dnyanesh

  • Dnyanesh,

    You can use the compiler separately from CCS if you want.  For example if you have your own makefile based build environment then it would be common practice for people to download the compiler separately.   People will also download newer versions of the compiler from ti.com and then use them in CCS.

    The compiler in CCS is the same as the one downloaded from ti.com, assuming you are downloading the same version.

    CCS does include a tool called SysConfig that is used for generating peripheral configuration code.  When I look in the example projects for C2000Ware I see a few projects that have SysConfig support for F280049C.

    In Resource Explorer browse to C2000Ware/English/Examples/F28004x. 

    These examples seem to map to the differnet device packages available.

    Once you import one of these examples there will be a .syscfg file present.  

    If you double click on that it will open the SysConfig tool.  From there you can add peripherals and generate configuraiton code for them.

    I will loop the C2000 back in to comment further.

    Regards,

    John