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.

6678 SGMII's question

hi, all
we have a customed board using c6678. The 6678's SGMII0 connects to the external
phy which has both copper and fiber interfaces. When the system switches between
the copper and fiber interface, the network can tx & rx data successfully. However
this switch of interface is not stable, occasionally the network subsystem stops
transferring data. I check the statistics register of the CPSW, the CPSW can receive
the packets from the host on its PORT0, the counter (0x02090b00) increases OK,
but the counter (0x02090c34) of the CPSW's PORT1 stops increasing. When
SGMII0 stops working, the SGMII1 can work OK.
I can't figure out why is happens, can anyone give a hint?

  • Hi,

    You are not seeing any problem when you are not switching between fiber and copper ?


    I check the statistics register of the CPSW, the CPSW can receive
    the packets from the host on its PORT0, the counter (0x02090b00) increases OK,
    but the counter (0x02090c34) of the CPSW's PORT1 stops increasing. When
    SGMII0 stops working, the SGMII1 can work OK.

    Always you able to get the packets from PORT0 but not PORT1 right ?

    It seems to be we missed some sw configuration which we done for SGMI0.
    Have you initialized the SGMI0 properly as like SGMI1 ( from example) ?
  • Titusrathinaraj Stalin said:
    Hi,

    You are not seeing any problem when you are not switching between fiber and copper ?

    yes


    I check the statistics register of the CPSW, the CPSW can receive
    the packets from the host on its PORT0, the counter (0x02090b00) increases OK,
    but the counter (0x02090c34) of the CPSW's PORT1 stops increasing. When
    SGMII0 stops working, the SGMII1 can work OK.


    Always you able to get the packets from PORT0 but not PORT1 right ?

    yes

    It seems to be we missed some sw configuration which we done for SGMI0.
    Have you initialized the SGMI0 properly as like SGMI1 ( from example) ?

    yes, SGMII0 is the same as SGMII1.