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.

Gbe switch

Hi everyone 

In some cases, after power up, when we try to send packet from gbe switch, the packet cannot be sended and holded in gbe switch. We think that there is a problem in switch init such as waiting or searching some registers before init. Because when we recall same init function, the problem is solved. Did you encounter any problem like this and do you have any solution for this problem ?

Thanks

  • Hi,
    What is your board ?
    EVM or custom and MCSDK version please ?
    What example code are you using ?
    Own code or any TI examples ?

    Could you please try to put some delay instead of reinitialization (recall the same) and see how it behaves.
  • I will try your advice and send reply immediately

    TCI6638K2K
    EVM
    I use PA_EMAC_EXAMPLE CPSW INIT code in my design
    pdk_3_1_1_4

    Thanks
  • I tried your advice but there is no change 

    I tried adding 3ms delay after per init function(serdes, sgmii, mac, swith).

    May be we should wait or check continously some registers.

    Do you have any other solution ? 

    Thanks

  • Hi,

    In some cases, after power up, when we try to send packet from gbe switch, the packet cannot be sended and holded in gbe switch. We think that there is a problem in switch init such as waiting or searching some registers before init. Because when we recall same init function, the problem is solved. Did you encounter any problem like this and do you have any solution for this problem ?

    You can check the registers through CCS's memory browser for both working and non-working condition.
  • When we check the MAC modul stat regs, we realized that MAC Modul Status Register wasnt in IDLE State. So we though that if we check this reg in init proccess and reset sgmii until the MAC Modul Status Register is in IDLE State, we can solve this problem. Bu we didnt achive it. Do you have any other suggestions ? May be it is hardware related problem ? I will wait your advice.

    Thanks
  • Hi,
    I don't think it is hw issue.


    TCI6638K2K
    EVM
    I use PA_EMAC_EXAMPLE CPSW INIT code in my design
    pdk_3_1_1_4

    What change have you been done ?
    You have changed the TI based example code ?
    Re-check your changes.

    Able to run any ethernet based examples on your EVM without seeing this behavior at all ?

    Also you can NDK's client and hello world example.
    C:\ti\mcsdk_bios_3_01_01_04\examples\ndk\client\evmk2h