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.

Ethernet control, TMS320C6455 EVM board !

Other Parts Discussed in Thread: TMS320C6455, CCSTUDIO

Hi all,

i have TMS320C6455 digital signal processor. i work to control to ethernet on board. i have a problem about this topic.

i use to utopia2_example.pjt program for ethernet control. But,  this program couldn't enable ethernet. In other words, The clock which is needed in order to write or read operations couldn't enable with this program.

What should i do in order to enable ethernet or clock signal ???

Thank you...

  • Hi Cenk,

    I'm assuming your using the DSK and not the mezzanine card.  Utopia and the EMAC share some pins (discussed in section 3.2 of the design manual), but the default on the DSK is EMAC enabled (UTOPIA_EN = 0), and MII mode (MAC_SEL = 00).  This will set the muxes accordingly for EMAC instead of Utopia, but you still have to enable the peripheral (see section 7.14 of the design manaual) by setting bit 4 of the PERCFG0 register.  This is complicated by the fact that there is a PERLOCK register that must be written first to unlock the PERCFG0 register.  Fortunately, the EMAC initialization CSL takes care of this step for you.  I'm not sure why you are using an utopia project for your ethernet code.  There is an EMAC example project that comes with your EVM which will completely intiialize and allow you to send packets.  It will be found in the following similar directory structure:

    C:\CCStudio_v3.x\boards\dskc6455_vx\csl_c6455\example\emac_mdio

    Regards,

    Travis

     

  • Hi tscheck,

    Thank you for your answer. I looked for this program (emac_mdio) but i couldn't find the program. i have not the program.

    Should not i use to Utopia for ethernet control ?

    Regards,

    Cenk

  • Cenk,

     

    Here is a zip file of the emac example from the CSL directory.  It references the TCI6482 device, which is the same device as the C6455, and will work on your EVM.

     

    Regards,

    Travis

    6175.emac_mdio.zip

  • Travis,

    Thank you very much again and again. I will try it and declare you.

    Regards,

    Cenk

  • Travis,

    Could you send me "csl_dev.h" and "csl_emac.h" files? I have not these files.

    Regards,

    Cenk

  • Have you downloaded the C6455 Chip Support Library? These files should be included in this package.

    *edit* Never mind, I am wrong [:$] These appear to be non-standard CSL files from the C6455 standpoint.

  • I found that strange that the EMAC example was missing from the C6455 CSL, but present in the TCI6482 CSL release, so I did some further checking.  It turns out that the CSL EMAC example has been replaced by the much more thorough NDK (Networkers Development Kit) code.  Cenk,  please download the NDK for the EMAC drivers and example:  http://focus.ti.com/docs/toolsw/folders/print/ndktcpip.html    That should fix your issue.  Also, if you haven't done so already, down load the C6455 CSL from the link that Tim pointed out.

    Regards,

    Travis

  • Hi All,

    Thanks you very much Tim and Travis. Tim I have the documents which you said me (C6455 Chip Support Library). But Did you look over tihs document? It hasn't emac example. Why? I wonder whether I can control the ethernet with utopia example??

    Travis, I downloaded files which you suggest. But I haven't used it yet. Now, I will look over it.

    Thank you so much again.

    Regards,

    Cenk