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.

unresolved symbol _VECSTART



Hello,

               I am using 5509A chip....  When i build, i am getting the following error...

 

Kindly guide me solve it?

Regards

Pradeep

 

 

  • Hi Pradeep,

    It looks like you are missing your vectors file that comes with CSL. Also it looks like you are mixing CSL and DSP/BIOS. Did you modify an example provided by us and added DSP/BIOS support?Do you need to use DSP/BIOS?

    When mixing pure CSL with DSP/BIOS you might need to do some adaptations when dealing with interrupts, the DSP/BIOS dispatcher can conflict with the CSL interrupt dispatcher. There is an article that gives examples for C6000 (not all information applies for C5000) that might help you:

    http://processors.wiki.ti.com/index.php?title=Converting_from_INTC_to_BIOS 

  • Hello Mariana,

                               Sorry for late reply.... First i started the project without chosing DSP/BIOS.... But i received a error message as  "

    fatal error: file "../lib/csl5501.lib<_csl_init.obj>" specifies small memory

    model, which is not compatible with large memory model specified in a

    previous file or on the command line

     

     

    "

    In some notes i studied that, to rectify this problem, the project should be created in DSP/BIOS mode... So i recreated the project in DSP/BIOS.....   As a beginer i am unfamlier with DSP/BIOS... Will the DSP/BIOS  do the same process as BIOS program in PC?..... My project is to receive the data from an ADC, process it and then i should transmit to PC via Mcbsp.... How to do this?...  What are the things should i do in DSP/BIOS code?...... What should i do in flash program code?.... Kindly guide me to proceed further....

    Regards

    Pradeep

     

       

     

  • I'm not sure how you reached the conclusion that you need to use DSP/BIOS because of this error, maybe I'm missing something. I would suggest you use the CSL as is and do not try to insert DSP/BIOS at this point.

    Please see:

    http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/41523/145549.aspx#145549

    Usually if you want to link the large memory model library, you just need to make sure that you are using the one with the "x" at the end of the name:

    csl5509x.lib

    Pradeep Kumar M said:

    fatal error: file "../lib/csl5501.lib<_csl_init.obj>" specifies small memory

    model, which is not compatible with large memory model specified in a

    previous file or on the command line

    I thought you were using C5509, why are you linking the C5501 csl? 

  • Hello Mariana,

                                Thank you so much... problem got solved..... I've done the following changes:

                                     * Created a new project without choosing DSP/BIOS

                                     *Included CSL5509ax.lib

                                     *Included Vectors_mcbsp1.s55 from mcbsp example

                                     *Included _IRQ_diableAll,_IRQ_clearAll in predefine symbols...

                             Now the code is free from errors, but i got the warning message for IRQ_diableAll, IRQ_clearAll .....  

    Is IRQ_diableAll(), IRQ_clearAll() are predefined functions?.....

     

    Regards 

    Pradeep

  • I can not see the exact warning messages in the picture, can you post the warning messages for me to take a look?

  • Warning i got:

  • Hi Pradeep,

    Do you have a linker command file (.cmd) in your project? Make sure that you include one, should be available with the CSL.

  • Thank you so much problem solved....