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.

can't get binaries of DSPlink sample app after building in WinCE, OMAP3530

Other Parts Discussed in Thread: OMAP3530, CCSTUDIO

I would like to run the DSPlink sample application in wince platform.

I followed the $DSPLINK$/doc/InstallGuide_WinCE_OMAP3530.pdf, and it says after building using platform builder IDE, we should copy 'message.out' in %DSPLiNK%\dsp\export\BIN\DspBios\OMAP3530\OMAP3530_0\RELEASE\*.out to the %FLATRELEASEDDIR%

But I can't find the BIN directory in %DSPLINK%\dsp\export\ after building the subproject DSPLink.pbpxml sample project. It is empty except for README.txt

Please tell me what the problem is in my process followed below.

1. I installed BSP_WINCE_ARM_A8, DVSDK_1.10, bios_32_5_41_00_06, ti_cgt_c6000 6.1.9, xdctools_3.16.1.27, activeperl_5.10.1

2. I edited the env. variables BIOS_INSTALL_DIR, XDC_INSTALL_DIR, CODEGEN_INSTALL_DIR, BASE_PERL using %DVSDK_INSTALL_DIR%\setpaths.bat, and My computer -> Properties-> Advanced-> Environment variables->system Variables.

3. I followed in section 9.3.2 'Build using Platform Builder IDE', 

- First, I added the subproject in %DSPLINK%\etc\host\projects\WinCE\DSPLink, and I added the catalog sysgen variable for DspLink.

-Next, I add env.variable CFG_DSPLINK_STR in Configuration Properties, and set the value equal to --platform=OMAP3530--nodsp=1--dspcfg_0=OMAP3530SHMEM-- dsp_pos_0=DSPBIOS5X --gppos=WINCE --comps=poslm

-Then, I select 'Build Current BSP and Subproject", and the output says Build succeeded.

However, I can't find any binaries '*.out' in export directory. 

So, I looked the file %DSPLINK%\etc\host\projects\WinCE\DSPLink\Build.log, and there was gmake errors about "'C: \Program' is not recognized as an internal or external command, operable program or batch file" when running "%XDC_INSTALL_DIR%/gmake -C gpp/src -f Makefile -s release".

I thought it was the problem of the space in "C:\Program Files\Texas Instruments\xdctools_3_16_01_27" of %XDC_INSTALL_DIR%, so I added double quotation mark "" to the command like "%XDC_INSTALL_DIR%\gmake" -C gpp/src -f Makefile -s release, but, it doesn't work, either.

Please tell me what I did wrong.

  • If you have space in the path of any of the tools (xdc, bios, perl, cgt), build will fail. Please move your tools to something like C:\TITOOLS and edit the ev. variables again before doing the build. If it still fails, please share your Build.log with us.

    -Madhvi

  • thanks! The problem is resolved but there is another problem.

    When compiling dsp sample application , the error message in Build.log is like below.

    =======================================================

    Starting DSP sample application build

    BUILD: [01:0000000527:INFO  ] ===========================================================

    BUILD: [01:0000000528:INFO  ] [MESSAGE             ] ------- DIRS ------------------ INCLUDE ------------

    BUILD: [01:0000000529:INFO  ] [MESSAGE             ] ------- DIRS ------------------ RELEASE ------------

    BUILD: [01:0000000530:INFO  ] [MESSAGE             ] ------- DIRS ------------------ EXPORT -------------

    BUILD: [01:0000000531:INFO  ] [MESSAGE             ] ------- BLDINFO --------------- RELEASE ------------

    BUILD: [01:0000000532:INFO  ] [MESSAGE             ] ------- CLEAN ----------------- RELEASE ------------

    BUILD: [01:0000000533:INFO  ] [MESSAGE             ] ------- INCLUDES -----------------------------------

    BUILD: [01:0000000534:INFO  ] [MESSAGE             ] ------- OBJECT ---------------- RELEASE ------------

    BUILD: [01:0000000535:INFO  ] Compiling main.c...

    BUILD: [01:0000000536:INFO  ] "C:\CCStudio_v3.3\bios_5_41_00_06\packages\ti\bios\include\mem.h", line 17: fatal error #5: 

    BUILD: [01:0000000537:INFO  ]           could not open source file "stddef.h"

    BUILD: [01:0000000538:INFO  ]   #include <stddef.h>    /* for size_t */

     

    What can I do for it to find the source file "stddef.h"? 

  • sorry, it was my mistake. i had not edited the space of the folder 'C6000 code generation tool'.

    Thanks very much