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.

Sample Codes/tutorial for

Other Parts Discussed in Thread: TMS320C6670

Hello

I have installed CCS5. I want to test some sample codes using TMS320C6670 . I want to do only a simulation and test. Since currently I don not have a board. Please let me know if there are some codes to get started with the processor. I did check the net, I was not able to get . Kindly help me by giving some pointers.

Thanks

  • Hi,

    You can explore with c66x simulator available in CCS5 to get started.

  • Hi,

    When you create a new project (File -> New -> CCS Project) you can choose some examples.

    You may also want to install MCSDK (http://www.ti.com/tool/bioslinuxmcsdk), that contains some drivers for the multicore devices.

    As you will note the examples are about the features of the devices, like IPC, I/O... instead of examples of video decoder, audio processing (TI has developed such sort of stuff but you have to search for what they have done and download separately).

    Here is the wiki about the simulator (http://processors.wiki.ti.com/index.php/TCI6616/C6670/TCI6608/C6678/TCI6618_Device_simulator_User_Guide)

    Regards

  • Hi

    Thanks for your reply. I try to run the sample code for Hello World from the menu( File -> New -> CCS Project) . This code uses the sys/bios function BIOS_exit(0).

    When I try to build , this throws the following error:

    #10008-D cannot find file "./configPkg/linker.cmd"    hello    . I am not able to sort this.

       1. Also  I am able to run a simple hello world program without  the sys/bios API.

    2. When I install CCS , I assume that the Sys/BIOS APIs get installed along with CCS. Am I right?

    3. Also for running the examples under sys/bios option ( say Swi example, taskMutex example)  my understanding  is that, I dont need Bios MCSDK to be installed, since these only use the Sys/bios. Correct me if I am wrong.

    4. I have installed CCS5 and I only want to simulate and understand. Kindly help me.

    Regards




  • Kalpalatha,

    Please go to the TI Wiki Pages and search for either "ccsv5 getting started" or "ccsv5 gsg" (no quotes). In the Getting Started Guide, it explains in detail all the steps to go through to install and use CCSv5.

    Regards,
    RandyP

  • Hi,

    kalpalatha sankara said:

    When I try to build , this throws the following error:

    #10008-D cannot find file "./configPkg/linker.cmd"    hello   

    Is this the only error message you get? I don't know what could be causing that, but take a look at this thread  (http://e2e.ti.com/support/embedded/bios/f/355/p/218741/770851.aspx), it may help you.

    1 - Good. Did you simulate it?

    2 - Yes. You only need to download Sys/Bios if you want to update it.

    3 - You're right.

    4 - Other two forum that you might want to take are:

    BIOS forum: http://e2e.ti.com/support/embedded/bios/default.aspx

    and CCS forum: http://e2e.ti.com/support/development_tools/code_composer_studio/default.aspx

    Regards

  • Hi

    1. I was able to simulate and get the hello world output.

    Since there was some problem , I had to reinstall CCS. This time I am not able to build  the program also. It throws the following error.  I have not used any sys/bios calls.

    ERROR: mklib: could not unpack rtssrc.zip
    warning #10207-D: automatic RTS selection:  resolving index library "libc.a" to "C:\ti\ccsv5\tools\compiler\c6000_7.4.1\lib\rts6600_coff.lib", but "C:\ti\ccsv5\tools\compiler\c6000_7.4.1\lib\rts6600_coff.lib" was not found
    warning #10062-D: entry-point symbol "_c_int00" undefined
    warning #10202-D: no suitable entry-point found; setting to 0
    'Finished building target: hello.out'

    I will look at the other two forums that you have mentioned.

    Kindly help me to resolve this error. I am not sure if there is any installation problem. I have used custom installation and chosen C6670 for the processor option.

    Regards