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.

Please WHERE ARE TI _DSPLINK_init, MSGQ_alloc, MEM_free,_MEM_valloc ... libraries

Other Parts Discussed in Thread: OMAPL138


Please Where are the libraries for  _FXN_F_nop , _GBL_procId _LOG_printf ,   _MEM_free , _MEM_valloc,  _MSGQ_ATTRS,  _MSGQ_alloc,   _MSGQ_close _MSGQ_config, _POOL_config  , _SYS_sprintf,  located. 

I keep getting "unresolved symbol _DSPLINK_init" type errors in code composer 4.0  when I compile, the TI "message" example for dsplink applications.  Does these have to do with assembly?

 

  • Peter

    These errors show that the build is unable to link DSPLink dsp side libraries like dsplink.lib etc

    I do not have a reference for CCS v4 but I have a link which talks about building DSPLink sample apps for CCS v3.

    See here http://processors.wiki.ti.com/index.php/Building_DSPLink_Applications#Method_3:_Building_a_DSPLink_application_using_a_CCS_project_file

    Deepali

  • Hey Deepali,  I have already fixed the error but thanks for the reply.   I used the same website that you mentioned. (click here) . Here is what I did in case anyone else  come

    across the same problem.   Ultimately, I think the main problem was that CCS4.0 was not able to see my *.lib library, like you said. But here is what I did.

    0.)  Made sure dsplink was downloaded properly -  to download OMAP_L138_setupwin32_1_00_00_11.exe  go to

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/omap_l138/1_00/latest/index_FDS.html . You will need to enter your password and username

    1.) Went  to the website  http://processors.wiki.ti.com/index.php/Building_DSPLink_Applications#Method_3:_Building_a_DSPLink_application_using_a_CCS_project_file

    2.) On this webpage there is a file named DSPLinkSampleBuild.zip. I downloaded it and unzipped it.  

    3.) On Code Composer Studio 4.0 (CCS 4.0). I imported the DSPLinkSampleBuild.pjt into CCS 4.0 as Legacy CCS3.3 Project - i.e (Project >Import Legacy CCSv3.3 project)

    4.) My intent was to replicate exactly what was done in the DSPLinkSampleBuild, except that I will be using the loop example in ${DSPLink directory}/dsp/src/sample/loop

    5.) I created my on new Project - (File>New>CCS Project) , and named it "PROJECTS".

             5.1. In this project  I ensured that all my predefined variable was included in quotation marks. Previously I was doing this without the quotation marks. 

                      So basically, I right clicked on my project - "PROJECTS". Clicked on  "BUILD PROPERTIES". When you download CCS4.0 it also downloads the C600

                     Compiler and when you create a new CCS 4.0 project it already loads it in build property. Under C600 Compiler, I clicked on "Predefined Symbols", and I

                     inserted on the predefined symbol, based on the values in TI_DSPLINK_DSP0_DEFINES and TI_DSPLINK_DSP_COMMON_DEFINES in  CURRENTCFG.

                     To get CURRENTCFG go to ${DSPLink_directory}\config\BUILD.  If CURRENTCFG is not found, you might need to rebuild your dsplink files - click here to 

                      learn how to build dsplink.   .   

                     So basically, insert this -

           

     

    I hope this helps for anyone that comes across the same errors.

    Thanks again Deepali

             

     

    "PROCID=0";" DA8XXGEM";"DA8XXGEM_INTERFACE=SHMEM_INTERFACE";"PHYINTERFACE=SHMEM_INTERFACE";"DSP_TSK_MODE";

    "MAX_DSPS=1";"MAX_PROCESSORS=2";"ID_GPP=1";"OMAPL138";"PROC_COMPONENT";"POOL_COMPONENT";"NOTIFY_COMPONENT";"MPCS_COMPONENT"; "RINGIO_COMPONENT";"MPLIST_COMPONENT";"MSGQ_COMPONENT";"MSGQ_ZCPY_LINK";"CHNL_COMPONENT";"CHNL_ZCPY_LINK ZCPY_LINK"

    The semi colon specifies a new line .  Make sure you clike on "Apply" when you insert all of this

                    5.2  After this I clicked on the "Include Options" under the C600 Compiler tab on the left.  Then I inserted all the include files based on all the paths specified in

                         the   TI_DSPLINK_DSP0_INC_PATH variable in CURRENTCFG file (${DSPLINK Directory)\config\BUILD)

                   5.3  Then I clicked on "File Search Path" under C600 Linker, and include the following search path  under , 'Add <dir> to library search path( --search_path, -i)

                               ${BIOS dir}\packages\ti\bios\lib

                               ${BIOS dir}\packages\ti\rtdx\lib\c6000

                               ${BIOS dir|\packages\ti\psl\lib

                              ${ccsv4 dir }\tools\compiler\c600\lib

                              ${ccsv4 dir}\tools\compiler\c600

                              ${CG_TOOL_ROOT}/include

     Make sure you click on "APPLY" , then build the project .  

    Ultimately, like I mentioned and like you said the make sure the files libraries can be found in your project -dsplink.lib, dsplinkdata.lib, dsplinkmpcs.lib,dsplinkmplist.lib,dsplinkmsg.lib, dsplinknotify.lib,dsplinkpool.lib, dsplinkringio.lib. This libraries can be found in ${DSPLINK dir}\dsp\BUILD\OMAPL138GEM_0\EXPORT\RELEASE