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 4.0 Compiler Use

Other Parts Discussed in Thread: CCSTUDIO

I am asking this general question for know about the CCS compiler use

Is it possible to use the CCS compiler for writing a make file

ie i want to avoid the IDE support and create the object files of given source from command line itself.

Since i have some peripharal devices and Interrupt handling . In simulator these codes excluded from build for testing. So i look for an alternate via.

I use tool chain compilers and it is used to build the source code sometimes. So i think the same concept here. So i ask about the CCS make files

 

Regards

Dave

 

 

 

 

  • The compilers are not built into the CCS IDE.  The IDE just selects the right compiler to use and formats a correct command line with which to call that compiler.  Therefore you can certainly use the compiler from the command-line or from a makefile using something like GNU Make.  You can find the User's Guide for the C6000 compiler here.

    Regards, Daniel

  • Hello Dave,

    Audio Dave said:
    Is it possible to use the CCS compiler for writing a make file

    CCSv4 IDE creates a makefile automatically from the project build properties.

    Audio Dave said:
    i want to avoid the IDE support and create the object files of given source from command line itself.

    You can create your custom makefile and build your application using GNU make located in CCS compilation at:

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake

    You will need to pass the correct compiler options as described in the User Guide suggested.

    The tool-chain for C600 is located at:

    C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c6000

     

    Hope this will help you.

    Enjoy...

    Amit

    (amitkumar.solanki@einfochips.com)

     

  • Thanks

    Is this facility available in CCS V3.3 ?

    Regards

    Dave

     

  • Audio Dave said:
    Is this facility available in CCS V3.3 ?

    Dave,

    CCS is just an IDE which uses the tool-chain for building the source code. CCS also provides user with other features like debug environment, profiling, etc.

    You can use tool-chains shipped with CCSv3.3 for building.Though, you will have an older version of tool-chain with CCSv3.3. It is found at:

    C:\CCStudio_v3.3\C6000\cgtools

     

    Enjoy,

    Amit

    (amitkuamar.solanki@einfochips.com)

     

  • Dave,

     

    If you would like to build your code using command line tools you can just use a Linux worstation for building the code and Windows PC for debugging.

    Please go through the following post:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/51988.aspx

     

    Hope this will help you.

     

    Enjoy..

    Amit

  • Dear Amit,

    Your answer is fine. you are telling a kernal on the hardware and application work on the top of kernal .

    But here I am looking a processor replacement. C6713 is replaced by C6745. I want to compile the source code for C6745 and emulate the final output to the hardware for use the extra dsp feature.

    So i want to check CCS 4.0 is enough for profiling, simulation. once it is Ok think about the emulation.

    My aim is to change the memory map and map the source code to C6745 platform and build it successfully. Here i have no embedded OS like antroid, Montavista or Ubuntu.

    Is it possible ?

    Regards

    Dave

  • Audio Dave said:

    My aim is to change the memory map and map the source code to C6745 platform and build it successfully. Here i have no embedded OS like antroid, Montavista or Ubuntu.

    Is it possible ?

    This would be possible.

    1. The changes you will require would be make memory map changes in the linker command file.
    2. I do not know much about these DSPs, but you will have to check the base addresses of the peripheral control registers are same for both this processors and if not make necessary changes.
    3. The interrupt event assignments might have changed.

    As far as build is concerned, you can easily build the code. But you will have to take care of above points.

    Hope this helps.

    Regards,

    Amit

     

  • Dear Amit,

    Yes, points you are  listed is correct.

    I want to clarify the following area's in to in depth.

    Have any linker script tutorials are available ?

    Have any tutorial for Hardware emulation using CCS ?

    I am checking the 1 to 1 mapping of memory feasibility for place the source in proper segments.

    C6745 is a super set of C6713 then have any change in the basic configuration like ISR and Interrupt registers ?

    Regards

    Dave

     

  • Audio Dave said:
    Have any linker script tutorials are available ?

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/439/p/59430/212267.aspx#212267

    Audio Dave said:
    Have any tutorial for Hardware emulation using CCS ?

    Many of emulation related questions are answered here:

    1. http://processors.wiki.ti.com/index.php/FAQ_-_CCSv4
    2. http://processors.wiki.ti.com/index.php/Emulation_FAQ

    Audio Dave said:
    C6745 is a super set of C6713 then have any change in the basic configuration like ISR and Interrupt registers ?

    You will have to check out the data sheets for this.

     

    Thanks,

    Amit