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.

DSK 5510 , "tone" example not working

>Recently got DSK 5510 for a course project.

>CCS that came with CD didn't work, (very old version), so I installed CCS 6 and tried to run the examples from http://c5000.spectrumdigital.com/dsk5510/.

>Tremendously work to link all the required libraries without any building error (Chip-set, DSK5510 related,etc).

>I've tried the led ones and it worked properly.

>However using the "tone" example, (just with a minor change) I can't hear any sound. And it shows 2 warnings:

#10247-D creating output section ".csldata" without a SECTIONS

#10247-D creating output section ".csldata" without a SECTIONS

>I press resume, It says ''Running'' but nothing ia heard. 

>Observation 1: When I reset the board I can hear the boot beep on the microphone normally (meaning It's not the microphone).

>Observation 2:When I take the while(1) loop out of the code, the debug shows a error:

Can't find a source file at "/tmp/TI_MKLIB4kQNZn/SRC/exit.c"

Locate the file or edit the source lookup path to include its location.

>I'm gonna really appreciate any help!

4760.Tone in loop.rar

  • You might have to add a SECTION to .csl data. In SECTIONS{...} in the command file VC5510.cmd. Maybe something similar to:

    SECTIONS

    {

    ...

    .csldata           >    DARAM6

    ...

    }

    Also, were you able to see the gel file getting executed properly? You must be able to see the gel output on the console before the program runs.

    Also please check if the Headphone is plugged into the HP jack and the volume wheel rivetted to max. The tone will be audible only for 5seconds.

    The second error "Can't find a source file at /tmp/TI_MKLIB4kQNZn/SRC/exit.c" is fine. Since you removed the while(1), the program executed till the end and wished to exit() but the code corresponding to the same is part of a linked library and not as a file. This isn't an issue.