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.

C/C++ programming language and C-Compiler requirements

Other Parts Discussed in Thread: TMS320C6678

Hello forum.

Please indicate the C or C++ programming language software and its applicable/supporting C/ C++ compiler for development on the Advantech DSPC-8682 PCI express board AND the DSPA-8901 blade.

We require to use Linux OS, and are considering Wind River Linux for the DSPA-8901 blade.

Which platform has been tested to run the C/C++ programming language and C-Compiler?

Are these programs downloadable fro the TI website?  Please provide the proper link.

If the C or C++ programming language is not available from the TI website, please recommend the best place to obtain it.

Thank you for your help in advance.

Corby Sable

  • First, see what Advantech has to say about this.  That takes precedence over whatever I say here.

    To program the C66x devices in those systems, you need TI's C6000 compiler.  It is available for free download from here.  But just having the compiler is not enough.  You probably want the full development environment, which is Code Composer Studio version 5.

    Thanks and regards,

    -George

  • Hello George,

    Thanks for your reply.  I looked at the Code Composer Studio version 5.  There are different versions.  In the grand scheme of development, which CCS do you recommend?

    Advantech refers a person to TI site for C and C++ programming and compiling.  So can you help ?

    Which C and C++ programming language do you recommend for the application as I have described with the Advantech products?

    I am looking for your help.

    Thanks,

    Corby

  • Hi Corby,

    I haven't used those boards and they're supported by Advantech. But about CCS, it's generally a good idea to download the latest version, you can find them here

    It already comes with a late version of the compiler (maybe not the latest, but pretty close. For the latest version go here).

    Also check this thread: http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/253993.aspx

    What you'll probably have to do is check which interfaces you can use between the DSPs. If you have specific questions about the TMS320C6678 you can look in the DSP forum http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/default.aspx .

    Hope this helps you.

    Regards

  • Hi Johannes,

    Thanks for your reply.  I have a few questions.

    Per the link:  http://processors.wiki.ti.com/index.php/Download_CCS

    Is a Desktop Linux PC installed with a Linux OS instead of a Windows OS?

    Q1:  Currently I have a laptop for development purposes.  I don't have a server with a Linux OS.  To get started now, should I install the Windows or Linux Code

    Q2:  Composer Studio Ver 5 downloads per link above?

    Q3:  Can I install a virtualization software on my laptop that will allow installation of the Linux download?  Or can I safely install the Linux on my laptop Windows 7 without vistualization?

    I saw 2 compilers  1) ARM Optimizing C and C++ Compiler ver 5.0.  And 2) TMS320C6000 Optimizing Compiler ver 7.4 (per user guide).  I looked at this compiler since it mentions the Advantech DSPC-8682 PCI- express board for development.  Q4:  Which compiler should be used for the Advantech development, which requires Linux?

    Thanks,

    Corby

  • Hi,

    Corby Sable said:
    Is a Desktop Linux PC installed with a Linux OS instead of a Windows OS?

    Yes.

    Corby Sable said:
    Q1:  Currently I have a laptop for development purposes.  I don't have a server with a Linux OS.  To get started now, should I install the Windows or Linux Code

    You don't need linux to run Code Composer. You can use the Windows version without problems.

    Corby Sable said:
    Q2:  Composer Studio Ver 5 downloads per link above?

    I suggest to download version 5.3, because it's the newest one. Choose the windows off-line installer. See this wiki about CCS: http://processors.wiki.ti.com/index.php/CCSv5_Getting_Started_Guide

    Corby Sable said:
    Q3:  Can I install a virtualization software on my laptop that will allow installation of the Linux download?  Or can I safely install the Linux on my laptop Windows 7 without vistualization?

    You can do both of them. Choose the one you prefer. I prefer dual boot than virtual machines.

    Corby Sable said:
    Q4:  Which compiler should be used for the Advantech development, which requires Linux?

    For 6678 is the C6000 compiler. Like CCS it also has Linux and Windows versions, if you install CCS on Windows, use Windows version, if you use Linux version of CCS download and install the Linux version of the compiler.

    Regards

  • Hi Johannes,

    Thanks for clarifying the 2 different TI compilers!

    Would you recommend dual-boot software as a download?

    Please tell me briefly why you prefer the DUAL-BOOT over the virtualization software to run on a PC with windows?

    So I can compare, which virtualization-software (download) is the best when using the TI Linux OS on my laptop?

    Thanks for your help!

    Corby

  • Hi,

    Just clarifying some points:

    1 - We're talking about the host OS. You can use Windows in your PC and still develop a code that uses Linux as DSP OS. So you don't really have to use Linux in your PC if you don't want. But if you download one Linux distro, check in which ones TI softwares have been tested. I think that most of them were tested in Ubuntu 12.04

    2 - About vitualization an dual boot it's just my personal preference, take a look here for a brief explanation about it.

    Regards

  • Hi Johannes,

    Yes, I am also referring to the host operating system.

    A question about using Windows OS:  If I use the WIndows version of the offline C Compiler, how does it generate Linux code?  I didn't understand what you meant by "Linux as DSP OS".  Would you be more specific?

    The Linux version of the CCS Compiler is a different software/download than the Windows offline version.  I have located both versions.

    You mentioned that you like dual-boot.  What is the processor speed, amount of RAM, HardDrive Capacity in a PC/laptop/with Windows to prevent sluggishness when running Windows 7 and Linux at the same time?  Does the PC need to have special memory allocation or other requirements per OS? Since resources are divided.  But I don't know what percentage the resources are divided?  Are resources adjustable?

    The TI literature uses Ubuntu 12.04 in the Guidelines 

    What next?

    Thanks for your time and help.

    Corby

  • Hello Johannes,

    An additional question:  Since ultimately i require to use the Advantech blade, but will test using the DSPC-8682, what TI development, application notes, literature, tests, etc is available for the Advantech DSPA-8901 blade?  This blade is loaded with Wind River Linux.

    I would prefer to transition from the development of the DSPC-8682 (PCI express board) into the DSPA-8901 blade using the same development scheme, resources, software, etc. - keeping consistency and through process the same.  The Linux and applications should be consistent.

    Therefore adding to my previous question about the Windows OS vs Linux OS for the C Compiler is important.  Do you agree or have other views?

    Thanks,

    Corby

  • Hi,

    I haven't used Advantech cards, so you gotta check the Advantech site for documentation.

    For 6678 you can use either Linux or SYS/BIOS as its real time operating system, check this thread: http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/199317.aspx

    You can develop the DSP application, with embedded Linux or SYS/BIOS, using Linux or Windows in your PC. In the case of DSPA-8901 which has WindRiver Linux you'll have to check its documentation, but I think that you can develop your applications that use it using a PC with Windows as OS.

    TI's softwares versions are the same for Windows and Linux, it's just a matter of which OS you use. About virtualization I suggest that you check the minimum system requirements for the softwares that you want to run and for the Virtual Machine that you're going to use and see if your system supports it. This is all I can tell you about it.

    Regards

  • Hi again,

    I didn't understand an answer from a previous discussion.

    A question about using Windows OS:  If I use the WIndows version of the offline C Compiler, how does it generate Linux code?  In a side by side comparison,  If the Windows C Compiler version generates Linux code, I would assume that it would produce the same Linux code as the Linux C Compiler version.   Is this correct?  How  how does the Windows version generate Linux code? 

     I didn't understand what you meant before by "Linux as DSP OS".  Would you be more specific?

    I would like to transfer my PC laptop Windows development to a server (using only Linux) when I can afford a server.  Now I only have a PC laptop with Windows.

    I would like to have consistent development.

    Thanks,

    Corby

  • Hi,

    First, let me answer the second question.

    Corby Sable said:
    I didn't understand what you meant before by "Linux as DSP OS".  Would you be more specific?

    You can have a Real Time Operatiing System (RTOS) running on the DSP. This RTOS can be either SYS/BIOS or an embedded Linux (see my previous answer).

    Corby Sable said:
    A question about using Windows OS:  If I use the WIndows version of the offline C Compiler, how does it generate Linux code?

    In this case, 'Linux code' refers to the application running in the DSP. So you can run Linux on DSP and develop your application in your pc that is running Windows and you will do the normal procedure to develop your app (using headers and libearies).

    Corby Sable said:
    In a side by side comparison,  If the Windows C Compiler version generates Linux code, I would assume that it would produce the same Linux code as the Linux C Compiler version.   Is this correct?

    Yes, the code generated using Windows compiler and Linux compiler should be the same.

    BR