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.

C6678 SDK emac test problem

Other Parts Discussed in Thread: TMS320C6678

Hi,

At presently, I am working on TMS320C6678 shannon . In this SDK, PDK for C6678 has been included. In it emac example not compiled. In it following error found

unresolved symbol cppiGblCfgParams, first referenced in ./cppi_qmss_mgmt.obj        emac_6678_test    line 0    1308126564259    5306
unresolved symbol qmssGblCfgParams, first referenced in ./cppi_qmss_mgmt.obj        emac_6678_test    line 0    1308126564259    5307

I have added CSL qmss and cpii library.

Can you tell me how i can resolve it and  it will be compiled ?

  • Naresh,

     

    Are you building through CCS?  Or from the Command line?  What version of the MCSDK is this? The example that you are talking about is in <MCSDK INSTALL DIR>\<6678 PDK DIR>\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject, correct?

    I am using the MCSDK Beta 2 and I was able to build through CCS without having to do anything special, so I want to be sure I'm in the right place. 

     

    Regards,
    Dan

     

  • Naresh,

    If you are using the BIOS MCSDK emac example, it should build as Dan suggested. Hope you are using the Beta2 Release of BIOS MCSDK.

    FYI:

    These defines are in cppi_device.c (and qmss_device.c) files. The files are located under PDK directory

    \packages\ti\drv\cppi\device for cppi_device.c file and  \packages\ti\drv\qmss\device for qmss_device.f file.

    Please make sure you have these files in the build.

    -Thanks,

    Aravind

  • Hi Arvind,

    First of all thanks for kind help.

    As suggested from your side , I have included this two source files cppi_device.c and qmss_device.c in compilation. It compiled and generated .out file but whenever i run this .out file following error found . In it qmss initialization failed . Note that I have also load gel file c6678.gel

    **************************************************
    ******* Ethernet Single Core Example Start *******
    **************************************************
    Error Initializing Free Descriptors, Error: -137
    QMSS init failed

    With best regards,

    Naresh

  • Hi Dan,

    Thanks for kind support .

    In Ti MCSDK for C6678 some tests like srio, emac runs , It found following errors,

    **************************************************
    ******* Ethernet Single Core Example Start *******
    **************************************************
    Error Initializing Free Descriptors, Error: -131
    QMSS init failed  

    It successfully complied but at run time such type of error found . What is the reason for this such type of error ? Note that i use mcsdk beta2 version and load gel file before connecting core and use ccs 4.2.3.

  • Naresh,

    BIOS MCSDK supports CCS v5. Please download CCSV5 from the link provided under MCSDK Beta2 download page.

    Otherthan that, you might want to try do to system resets between runs  and see if it helps.

    -Thanks,

    Aravind

  •  Hi Dan,

    First of all  thanks for kind support.

    Thanks for your Help.

    As per your suggestion for Emac loopback test from <MCSDK INSTALL DIR>\<6678 PDK DIR>\packages\ti\drv\exampleProjects\PA_emacExample_exampleProject. It's working well for internal loopback test. But I  need for external lopback. For this i change in cpsw_singlecore.c and select cpsw_external_loopback. But in this whenever i runs, It stops in SGMII_get_status because SGMII link is not up. Is there any other changes I need to made to run external loop-back ?