cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
1,398 Views
Registered: ‎06-29-2010

EMAC can't linkup with Broadcom (SGMII )

hi :

   my custom board is a Virtex6 , comunicate with a broadcom through SGMII interface;

   the broadcom is well configured;

   and my EMAC  on mhs file is followed:

***************************************

"

BEGIN xps_ll_temac
 PARAMETER INSTANCE = Hard_Ethernet_MAC
 PARAMETER C_PHY_TYPE = 4
 PARAMETER C_TEMAC1_ENABLED = 0
 PARAMETER C_BUS2CORE_CLK_RATIO = 1
 PARAMETER C_TEMAC_TYPE = 3
 PARAMETER C_TEMAC0_PHYADDR = 0b00001
 PARAMETER HW_VER = 2.03.a
 PARAMETER C_BASEADDR = 0x83c80000
 PARAMETER C_HIGHADDR = 0x83cfffff
 BUS_INTERFACE SPLB = mb_plb
 BUS_INTERFACE LLINK0 = Hard_Ethernet_MAC_LLINK0
 PORT TemacIntc0_Irpt = Hard_Ethernet_MAC_TemacIntc0_Irpt
 PORT LlinkTemac0_CLK = clk_100_0000MHzMMCM0
 PORT RXN_0 = Hard_Ethernet_MAC_RXN_0
 PORT RXP_0 = Hard_Ethernet_MAC_RXP_0
 PORT TXN_0 = Hard_Ethernet_MAC_TXN_0
 PORT MGTCLK_P = Hard_Ethernet_MAC_MGTCLK_P
 PORT MGTCLK_N = Hard_Ethernet_MAC_MGTCLK_N
 PORT TXP_0 = Hard_Ethernet_MAC_TXP_0
END

"

the MDIO is not used...

after download the bit file, found the SGMII line is not linked..

and i have doned the "peripheral test", it passed;

and using the"xapp1026", running lwip project on the FPGA, it paused at"

xemac_add(netif, &ipaddr, &netmask, &gw, mac_ethernet_address, PLATFORM_EMAC_BASEADDR)"

 

but i think, without the LWIP, the SGMII line should linkup, if the protocal is corrected;

 

another problem is that"the MGTCLK"should be 125MHZ, while I have a 155Mhz input(no 125M oscillator -,-), this board is only for a test of tcp/ip efficiency on Microblaze..

 

is there any clue?on the not linkup and why the coad paused at  xemac_add?

 

thanks verymuch

 

 

0 Kudos
0 Replies