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.

EDMA3 LLD Example - Undefined Symbols?

Guru 15580 points
Other Parts Discussed in Thread: OMAPL138, SYSBIOS

I am trying to run the EDMA3 LLD (C:\Program Files (x86)\Texas Instruments\edma3_lld_02_11_01_02\examples\edma3_driver\evmOMAPL138\sample_app) example code and have the following undefined symbols. What could be causing this?

<Linking>

 undefined                    first referenced        

  symbol                          in file             

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

 _EDMA3_DRV_chainChannel      ./dma_chain_test.obj    

 _EDMA3_DRV_clearErrorBits    ./qdma_test.obj         

 _EDMA3_DRV_enableTransfer    ./dma_test.obj          

 _EDMA3_DRV_freeChannel       ./qdma_test.obj         

 _EDMA3_DRV_getCCRegister     ./dma_misc_test.obj     

 _EDMA3_DRV_getPaRAMField     ./qdma_link_test.obj    

 _EDMA3_DRV_getPaRAMPhyAddr   ./dma_ping_pong_test.obj

 _EDMA3_DRV_getVersion        ./main.obj              

 _EDMA3_DRV_getVersionStr     ./main.obj              

 _EDMA3_DRV_linkChannel       ./qdma_link_test.obj    

 _EDMA3_DRV_requestChannel    ./qdma_test.obj         

 _EDMA3_DRV_setCCRegister     ./dma_misc_test.obj     

 _EDMA3_DRV_setDestIndex      ./qdma_test.obj         

 _EDMA3_DRV_setDestParams     ./qdma_link_test.obj    

 _EDMA3_DRV_setOptField       ./qdma_test.obj         

 _EDMA3_DRV_setPaRAM          ./dma_test.obj          

 _EDMA3_DRV_setPaRAMEntry     ./qdma_test.obj         

 _EDMA3_DRV_setQdmaTrigWord   ./qdma_test.obj         

 _EDMA3_DRV_setSrcIndex       ./qdma_test.obj         

 _EDMA3_DRV_setSrcParams      ./qdma_test.obj         

 _EDMA3_DRV_setTransferParams ./qdma_test.obj         

 _EDMA3_DRV_waitAndClearTcc   ./dma_poll_test.obj     

 _Edma3_CacheFlush            ./qdma_test.obj         

 _Edma3_CacheInvalidate       ./qdma_test.obj         

 _determineProcId             ./main.obj              

 _edma3MemCpy                 ./dma_ping_pong_test.obj

 _edma3deinit                 ./main.obj              

 _edma3init                   ./main.obj              

 _getGlobalAddr               ./qdma_test.obj         

 _numEdma3Instances           ./main.obj              

 _sampleEdma3GblCfgParams     ./main.obj              

 _sampleInstInitConfig        ./main.obj              

 

error: unresolved symbols remain

error: errors encountered during linking;

   "edma_drv_bios6_omapl138_st_sample.out" not built

Thx,

MikeH

 

  • Folks,

    Could I please get some help on the above and thsi(http://e2e.ti.com/support/embedded/f/355/p/105429/372113.aspx#372113)? I am dead in the water until I can get past these unresolved symbols. 

    Thx,

    MikeH

     

  • Mike,

    have you changed anything in the extracted package of edma3_lld_02_11_01_02?

    This version of EDMA uses make based build and build procedures are given in the user guide as well.
    refer to packages\ti\sdo\edma3\drv\docs\EDMA3_Driver_User_Guide.pdf

    Following are the steps I used to build.

    After extracting the package, In makerules/env.mk file change the variable INTERNAL_SW_ROOT to the edma package extracted dir and make sure the variables UTILS_INSTALL_DIR, bios_PATH and xdc_PATH are pointing properly to the installed tools.

    while building ser the ROOTDIR env variable to edma package extracted dir.

    To build examples for all the platforms issue following commands from the <edma extracted dir>\packages
    $gmake examples FORMAT=ELF
    $gmake examples FORMAT=COFF

    If you want to build only for omapl138 dsp core you can issue the following command from the <edma extracted dir>\packages
    $gmake edma3_drv_omapl138_sample

    Please check if you are doing anything different from above mentioned steps.

    Prasad

  • Prasad,

    Are the pre-built library files not already available in the \lib\674\debug directory? (i.e. C:\Program Files (x86)\Texas Instruments\edma3_lld_02_11_01_02\packages\ti\sdo\edma3\drv\lib\674\debug).  Could I not simply link to these existing files?

    MikeH

     

  • Mike,
    You should be able to link to the pre-built libraries.
    Can you tell me how exactly you are trying to build the examples?
    Prasad
  • Prasad,

    Thanks for the help, but I have given up on SYSBIOS for the time being.

     

    MikeH

     

  • Prasad:

          What is the extension of pre-built library files   in edma packet? I search edma3_lld_02_11_03_03 , can not find any lib file.

     

    David