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.

c5505 ezdsp compiler

Hello,

I want to load .out file in my dsp . The .out file in the sample audio playback program  is loading properly in dsp .The type of this out file is program (application/octet-stream)

But i want to compile certain c programs in gcc and i compiled it and i have created a .out file but its type is executable so i cant load it in my dsp

It says a error message "Invalid file format" when i try to load the .out file i have created in gcc .

Help me to solve this problem

  • Pradeep,

    Are you cross-compiling theprogram to work on your intended project?  Or are you building it with the x86 GCC compiler and hen trying to force feed the image to DSP.  If it's the second one, then that certainly won't work.

    What DSP are you using?

    Are you using the Code Composer Studio IDE?  Why aren't you using the toolchain that comes with it?

    Dave

  • No. we are not cross-compiling. Thats the problem. Can you pls specify to which platform we have to cross compile. is win32 ok?

    We are using ezdsp c5505 usb stick.

    the program we are trying to load is in linux n is working fine. we are trying to make it run in the dsp through ccs. Do you suggest we try the linux version of ccs? will it help?

    thanks in advance!!

  • Yes, go ahead and get Code Composer Studio (CCS).

    If you have questions on which version of CCS to use, which platforms are supported, etc, then post your questions to the Code COmposer E2E forum at

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

    And yes, you need to build your executable to run on a C5505 DSP -- building the image for Win32 will not work.  You can use the TI code gen tools that are bundled with CCS in order to build, load and debug your program.

    Good Luck,

    Dave