cancel
Showing results for 
Search instead for 
Did you mean: 

Very slow initialization of eth1 on sr6g7

andreih
Associate

Hello,

I have a problem regarding the slow initialization of eth1 on SR6G7 evbc6000 rev B board.

The function xNetworkInterfaceInitialise() is failing multiple times, until it is succesfull.  From further investigation, I discovered that phy_check_id() is the cause of the failing. phy_check_id() is used inside dp83tg720_phydev_init(), which can be found here: ModExt/Drivers/Ethernet/DP83TG720/src/dp83tg720.c .

Is there something that must be done before initializing the interface? Could it be a problem regarding the Ethernet cable?

This behaviour can be seen using StellarSDK 4.0.0, using the ethPing project (Projects/Comms/Ethernet/ethPing). In order to use the eth1, in main() function I also registered the eth1 interface, like this:

 
xNetworkRegisterIf(ETH0_INSTANCE, NO_HW_LOOPBACK);
xNetworkRegisterIf(ETH1_INSTANCE, NO_HW_LOOPBACK);
 
Thanks in advance! :) 
0 REPLIES 0