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.

PSP example build errors

Other Parts Discussed in Thread: CCSTUDIO, OMAP-L137

I am trying to compile the following project:

C:\Program Files\Texas Instruments\pspdrivers_01_20_00_07\packages\ti\pspiom\examples\evmOMAPL137\spi\edma\build\spiSample.pjt

And am getting the following errors on build:

---------------------------  spiSample.pjt - Debug  ---------------------------
Error, Don't know how to build file "C:\Program Files\Texas Instruments\pspdrivers_01_20_00_07\packages\ti\pspiom\examples\evmOMAPL137\spi\edma\build\spiSample.tcf"
Error, Don't know how to build file "C:\Program Files\Texas Instruments\pspdrivers_01_20_00_07\packages\ti\pspiom\examples\evmOMAPL137\spi\edma\src\spiSample_io.c"
Error, Don't know how to build file "C:\Program Files\Texas Instruments\pspdrivers_01_20_00_07\packages\ti\pspiom\examples\evmOMAPL137\spi\edma\src\spiSample_main.c"
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
error: cannot find file "ti\sdo\edma3\drv\lib\Debug\edma3_drv_bios_c674.lib"
error: cannot find file "ti\sdo\edma3\rm\lib\omapl137\Debug\edma3_rm_bios.lib"
error: cannot find file
   "ti\sdo\edma3\drv\sample\lib\omapl137\Debug\edma3_drv_bios_sample.lib"
"C:\DOCUME~1\nkeddem\LOCALS~1\Temp\008523", line 16: fatal error: unrecognized
   file:  "C:\\Program Files\\Texas
   Instruments\\pspdrivers_01_20_00_07\\packages\\ti\\pspiom\\examples\\evmOMAP
   L137\\spi\\edma\\build\\spiSamplecfg.cmd"

>> Compilation failure

Build Complete,
  5 Errors, 0 Warnings, 0 Remarks.

The files which are not found are because I am using windows and not linux I belive and have an idea how to fix those but I don't know how to fix the rest of the errors. Any ideas?

  •  

    Please see page 10/11 of the document:

    C:\CCStudio_v3.3\pspdrivers_01_20_00_07 _PRIMUS\docs\C6747\C6747_BIOSPSP_Userguide.pdf

    At 1.3.1.1, step 4 - you need to set up the  EDMA3LLD_BIOS5_INSTALLDIR environmental variable to where you have the EDMA3 installed.

    Go to Control Panel, System, Advance, Environment VAriables, System Variables -> New.

    Mine is set up to: C:\C674x_dsp_1_00_00_07\edma3_lld_1_06_00_0

     

  • Thank you for the reply.  Unfortunantly I already had that enviromental variable set, as well as my bios install directory.  I even tried to hard code the path instead of the variables in the project file and it didn't resolve any of the errors.

  • After you added the env variable, did you close CCS and re-open it? Sometimes you need to do that for CCS to be aware of the env variable.

    Also, have you installed the PSP stand alone version, or have you installed all the software that came in the download page according to the GSG (link below)?  

    http://tiexpressdsp.com/index.php?title=Getting_Started_Guide_for_C6747

    I installed everything described as in the GSG in the default path and it worked after setting the environmental variable... Did you install in the default path?

    If you search for the files above in your computer, where do find the files: edma3_drv_bios_c674.lib, edma3_rm_bios.lib, and edma3_drv_bios_sample.lib?

    Where did you put the path to the files? It should be at the Build Options, Linker tab, Libraries, Search Path.

  • I did a full restart on the machine between changes to the env. variable. My PSP installer has the following name:

    BIOSPSP_01_20_00_07_Setup.exe

    I believe it was copied (and then required to be installed itself) with one of the recommended downloads installs but I'm not sure which because I only noticed it after I had installed all of them.  I have installed everything on the page except for:

    setupwin32_ndk-2_0_0_2_eval.exe

    I didn't think I would need this considering I am not doing any network based development.  If this is a bad assumption I will download and install it.  All other files listed were download and installed into their default directory.  Those library files are found in folders found under the following path in my machine:

    C:\C674x_dsp_1_00_00_07\edma3_lld_1_06_00_01\packages\ti\sdo\edma3

  • You do not need to install NDK.

    Did you install the CCS that came with the CD (the DSK version), or did you have the full version installed?

    The error: "Error, Don't know how to build file " for the tcf file can mean that you have an older version of DSP/BIOS. For OMAP-L137, you should have bios 5.33.3. DSP/BIOS 5.33.3 is in the download page.

    After you install (or if you have it installed already), to make sure that you have the correct BIOS version installed go to CCS-> Help-> About. Click on Component Manager, expand Target Content for TMS320C67XX and for TMS320C64XX and select 5.33.3. You can check your code generation tools at build tools ( it should be at least 6.1.5) as well expanding Build Tools. After selecting, go to File-> Save and restart CCS.

  • Thank you! That seems to have solved most of my errors.  Only one remains:

    [spiSample_io.c] "C:\Program Files\C6000Code Generation Tools 6.1.5\bin\cl6x" -g -pdr -fr"C:/Program Files/Texas Instruments/pspdrivers_01_20_00_07/packages/ti/pspiom/examples/evmOMAPL137/spi/edma/build/Debug" -i"C:/Program Files/Texas Instruments/pspdrivers_01_20_00_07/packages/ti/pspiom/examples/evmOMAPL137/spi/edma/build/../../../../../../../" -i"/packages" -mv6740 -@"../build/Debug.lkf" "spiSample_io.c"
    "spiSample_io.c", line 59: fatal error: could not open source file "ti/sdo/edma3/drv/edma3_drv.h"
    1 fatal error detected in the compilation of "spiSample_io.c".
    Compilation terminated.

  • For the final error I was able to resolve it by merging the ti folder found in:

    C:\C674x_dsp_1_00_00_07\edma3_lld_1_06_00_01\packages

    with the one found in:

    C:\Program Files\Texas Instruments\pspdrivers_01_20_00_07\packages

    This tells me there is some problem with some header search paths but I'm afraid that I dont see anything wrong with any of the paths.  In either case I can now build successfully.

  • I'm glad to hear that!