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 compile scale.out in windows CCS and run it in DM6446?

we want to code/compile dsp project in windows CCS, so we import the whole dsp scale sample from Linux and create a project for it. After it successfully compiled, we run it as

# scalegpp scale_winCompiled.out 1024 1

 

it failed, error print in Linux console is:

----------------------------------------------

Entered SCALE_Create ()

PROC_Start () failed. Status = [0x80008008]         // we got DSP_EFAIL error

 /* A general failure occurred */

        #define DSP_EFAIL   (DSP_EBASE + 0x8)

 

The source code of scale is untouched and we also added TMS320C6400 in "Code composer studio setup", following is options of our win project. 

What's the problem and how to build dsp.out in windows CCS for DM6446? Does there any Demo about it? Thank you!

 

options of CCS scale project

----------------------------------------------

-g -pdsw225 -fr"$(Proj_dir)\Debug" -i"$(Proj_dir)\" -i"$(Proj_dir)\..\..\..\build\include\" -i"$(Proj_dir)\..\..\..\inc\DspBios\Davinci" -i"$(Proj_dir)\..\..\..\inc\" -i"$(Proj_dir)\..\..\..\src\data\DspBios\Davinci" -d"_DEBUG" -d"DDSP_DEBUG" -d"TSK_MODE" -d"CHNL_COMPONENT" -d"CHNL_ZCPY_LINK" -d"MSGQ_COMPONENT" -d"MSGQ_ZCPY_LINK" -d"ZCPY_LINK" -d"DAVINCI_EVMVARIANT" -mv6400+


  • Richard,

    All the codec engine examples assume you are running these from the ARM Linux side (where app is assumed to reside).  The main problem I see is that these applications use codec engine API to take the DSP out of reset and load a DSP image (x64P = DSP server) to it.  If you are connected to DSP already (in order to load .out file) than this model is broken....

    It appears that what you are after is an application that runs entirely on the DSP; I am not sure if we have such application readily available; I am thinking that by changing some of the configuration files in the codec engine examples, you can have application built for DSP, but I have never tried this myself so perhaps someone more familiar with this process can jump in and help....

  • Thank you, Juan, you will be the most active TI guys someday :)

    dsplink provides samples to show how DSP/GPP works together. We don't use CE(codec engine), we use dsplink directly. But our dsp(algo) engineer is familiar with CCS in windows. So, we want a Demo to show how the scale(DSP side) can be compiled in windows CCS and run as same as scale(DSP side, compiled in linux OS).

    After some effort, we failed to get the scale_winCompiled.out to work. We need DSP/GPP both, the dsp.out is loaded by GPP application. And the codec engine examples is also Linux. I love linux, but my DSP guys works on windows only before. If we can't tell him how to do the job on the windows, he will be crazy(actually, he already installed the Linux OS yesterday and trying to make in Linux ;)   )

  • This problem is solved yesterday.  We forgot to rebuild dsplink in windows

    Thanks

  • This is great news Richard; thank you for sharing with the community