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.

How to write HELLO WORLD code from very beginning on CCS 3.3

Other Parts Discussed in Thread: CCSTUDIO

Hi All ,

I am using the TMS320C6713 processor for the first time (Infact i am working on DSP system for the first Time).

To get familirize with the processor i started using the CCS3.3 in simulator & started writing an sample hello world.

I tried to build an simple " Hello World " application on CCS 3.3 with following steps :-

1. Project ---->Project Name (hello)
                Project Type (.out)
                Target (TMS320C67XX)
2. Add files to the project (hello.c)
   hello.c has the following code ....

    #include <stdio.h>
    void main()
    {
        printf("Hello World ...\n");
    }

The CODE Compiled without any error
[hello.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.3/MyProjects/Hello/Debug" -d"_DEBUG" -mv6700 -@"Debug.lkf" "hello.c"
Compile Complete,
  0 Errors, 0 Warnings, 0 Remarks.

 

But the build showed following error :-

-----------------------------  Hello.pjt - Debug  -----------------------------
[hello.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.3/MyProjects/Hello/Debug" -d"_DEBUG" -mv6700 -@"Debug.lkf" "hello.c"

Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: entry point symbol _c_int00 undefined

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_printf                          C:\\CCStudio_v3.3\\MyProjects\\Hello\\Debug\\hello.obj
>>   error: symbol referencing errors - './Debug/Hello.out' not built

>> Compilation failure

Build Complete,
  2 Errors, 2 Warnings, 0 Remarks.


 So can you please help me to figure out what is cause of above mentioned error.

  • Ashish,

    Welcome to the TI E2E forums!

    CCS 3.3 has some excellent tutorials. You can find them under Help->Tutorials, as I recall.

    Look at the examples for your board. These should be in a folder under CCS, such as "boards".

    On the TI Wiki Pages, you can search for "C6000 workshop" (no quotes) and should find some old archives of this workshop that included examples for the C6713. Go through all of the course material and labs, treating it as a stand-alone self-paced workshop. You will learn how to use the C6713 much more quickly than any method other than attending a live workshop.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.