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 with LEDs within a DSP/BIOS program on the evm6474

Other Parts Discussed in Thread: CCSTUDIO

hello everybody,

i am starting to learn how to use DSP/BIOS with the evaluation board evm6474. I succeeded to write a simple program involving tasks.

the problem is when i try to use the board leds within my program, it's linking fails. I included "evm6474.h" and "evm6474_led.h" so i can't see where is the problem.

(I tried leds in a program not involving DSP/BIOS, and it worked just fine) 

I am using CCS 3.3 with DSP/BIOS 5.33.

I got the following error     :(

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"

<Linking>

 undefined         first referenced                                        

  symbol               in file                                             

 ---------         ----------------                                        

 _EVM6474_LED_init C:\\CCStudio_v3.3\\MyProjects\\Led_BIOS\\Debug\\main.obj

 _EVM6474_LED_off  C:\\CCStudio_v3.3\\MyProjects\\Led_BIOS\\Debug\\main.obj

 _EVM6474_LED_on   C:\\CCStudio_v3.3\\MyProjects\\Led_BIOS\\Debug\\main.obj

 _EVM6474_waitusec C:\\CCStudio_v3.3\\MyProjects\\Led_BIOS\\Debug\\main.obj

 

error: unresolved symbols remain

"main.c", line 19: warning: relocation from function "led_test" to symbol

   "_EVM6474_LED_init" overflowed; the 23-bit relocated address 0xdfe6b0 is too

   large to encode in the 21-bit signed PC-Relative field (type = 'R_C60PCR21'

   (82), file = "C:\\CCStudio_v3.3\\MyProjects\\Led_BIOS\\Debug\\main.obj",

   offset = 0x00000014, section = ".text") 

thanx in advance.

  • hello again,

    i figured out the solution (it was fast  :)  )

    for those who have the same problem.They just have to include the file    evm6474bsl.lib   located under CCStudio_v3.3\boards\evmc6474_v1\lib     in the project.

    i hope this post will help someone in the future.