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.

Problem in compiling ezDSP5505 code

Hi,

I have a ezDSP5505 board. I installed the CCS v4.0 that comes with it. I followed the steps to generate a new target configuration for 5505. After this I imported the 'led' project from "C:\Program Files\Texas Instruments\ccsv4\emulation\boards\usbstk5505\tests\led". When I tried to build this project I got a compilation error:

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/bin/cl55"' is not recognized as an internal or external command,

operable program or batch file.

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [main.obj] Error 1

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors

Can anyone suggest me where I am wrong and how can I sort this out?

  • Hi Abhishek,

    Please try the following:

    1. Create a new folder c:\testws

    2. Launch CCS 4.0, point to c:\testws when you are asked for work space

    3. Import CCS 4.0 project from  C:\Program Files\Texas Instruments\ccsv4\emulation\boards\usbstk5505\tests\led

    4. Build the project

    5. Create a new target configuration file for USB Stick

    6. Debug active project.

    Let us know how it works!

     

    Ming

  • Hi,

    I adjusted my environment variables and problem is solved. Thanks for you replies.

  • I'm having the same problem.

    I did the new workspace as suggested with no change in the error.

    ************************************

     undefined first referenced                                                                          
      symbol       in file                                                                               
     --------- ----------------                                                                          
     _main     C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c5500/lib/rts55x.lib<args_main.obj>

    error: unresolved symbols remain
    error: errors encountered during linking; "led.out" not built

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [led.out] Error 1
    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
    >> Compilation failure
    Build complete for project led

     

    Andy

  • I followed the instructions and the LED project had errors on compile.
    I commented out the line in LED_TEST.C "Int16 led_test()"
    and put in "main(void)"

    Now it works. Please check your distribution disk files.
    Andy

  • I spoke to soon. Now it can't find the symbols.

    I'm going to nuke CCS4 and re-install

    Andy

  • After re-installing from CD and installing the CCS4 Updates everything works fine.

    Make sure, when importing a project, to click "include related files in the project" (paraphrased)

    Andy