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.

cannot use "comm_intr(); "

Other Parts Discussed in Thread: CCSTUDIO

hello,

i'am newbie...

i want to ask about comm_intr() for interrupt in C6713...

it's my code :

interrupt void c_int11()
{

     DSK6713_LED_toggle(0);

     DSK6713_waitusec(200000);
}


void main(void)
{

     DSK6713_init();
     DSK6713_LED_init();
     comm_intr();
     while(1)

 {

    DSK6713_LED_toggle(1);
    DSK6713_waitusec(200000);

  }

}

there are 2 error...

**** Build of configuration Debug for project bis1 ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../main.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6700 -g --define=c6713 --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --include_path="C:/CCStudio_v3.1/C6000/dsk6713/include" --include_path="C:/CCStudio_v3.1/C6000/csl/include" --include_path="E:/Data Danny/Program/CCS5 anyar/bis1/Debug" --include_path="C:/ti/bios_5_41_13_42/packages/ti/bios/include" --include_path="C:/ti/bios_5_41_13_42/packages/ti/rtdx/include/c6000" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
"../main.c", line 49: warning #225-D: function declared implicitly
"../main.c", line 53: warning #112-D: statement is unreachable
'Finished building: ../main.c'
' '
'Building target: bis1.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6700 -g --define=c6713 --define=CHIP_6713 --display_error_number --diag_warning=225 --abi=coffabi -z -m"bis1.map" --stack_size=0x800 --heap_size=0x800 --warn_sections --display_error_number -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" -i"C:/ti/bios_5_41_13_42/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_41_13_42/packages/ti/bios/lib" --reread_libs --rom_model -o "bis1.out" -l"./bis1cfg.cmd" "./main.obj" "./bis1cfg_c.obj" "./bis1cfg.obj" -l"libc.a" -l"C:\CCStudio_v3.1\C6000\csl\lib\csl6713.lib" -l"C:\CCStudio_v3.1\C6000\dsk6713\lib\dsk6713bsl.lib"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
_comm_intr ./main.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "bis1.out" not built

>> Compilation failure
gmake: *** [bis1.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

anyone can help me...??
thanks a lot... 

  • Danny,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    In particular, try searching this E2E C67x Single Core DSP Forum for "comm_intr" (no quotes) to find discussions of this function from other people.

    You will have the best success starting from a known working example. TI may provide examples for the DSK6713 and the board vendor may provide some examples. Those will be good choices for you to start with.

    Or, wherever you found a mention of comm_intr(), use that example.

    Regards,
    RandyP

  • hi RandyP,

    thank you you are replying to my post.

    actually, before I post about it, I have tried many ways are there on this forum, but my problem is still not resolved ... ;(

    Regards,

    Danny...

  • Danny,

    Since you have already searched the forum for "comm_intr", you know that this file is not supplied by TI and you know where the file comes from. Have you then gone to the source to acquire that file?

    All of the other function calls in your code start with DSK6713_ which means they come from the Board Support Library that is supplied by the board vendor.

    Why did you write the function name "comm_intr()" into your code? What do you expect this function to do? Did you copy this from some example?

    Regards,
    RandyP

  • RandyP,

    yes, I am looking for a file c6713dskinit.h, c6713dskinit.h, Vector_intr.asm, etc ...
    I get the source from the following websites:
    http://www.engr.colostate.edu/ECE423/support_files.html

    I need this function for sound sampling. I want to try to ITD and ILD method.

    I would be very grateful if you could help me..

    regard,

    danny....

  • Danny,

    I think your choices are:

    1. Re-read the E2E posts that might help you understand where other people have referenced the function comm_intr so you can follow their guidance. This might help, but since you have tried this already, it might not help.

    2. Find someone at Colorado State University who can help you get the rest of the files, if they are the source of your support files but are missing some of them. If you believe comm_intr should be coming from the same support files, then ask them for those files. This is not a function from TI.

    3. Go back to whatever you used as a template or starting point for your code. You have not indicated where you came up with the comm_intr function name in the first place, but you must have had an intelligent reason for choosing that function call. Since this is what is missing, or this is at least one of your errors, this must be resolved.

    Does any of this seem to be good advice to you? Do you see any value in these choices?

    Regards,
    RandyP