2022-02-23 03:14 AM
2022-03-02 03:36 AM
Most probably it's because there is no ethernet cable connected at startup. I'm having the same issue with a NUCLEO-F439ZI board. Apparently this hasn't been fixed in years.
2022-03-02 12:52 PM
Also verify the PHY config data. In CubeMX view the ETH peripheral, then click on "Advanced parameters". I've had instances where the mask values were wrong for the LAN8742**. Specifically the status reg offset (0x1f), speed and duplex masks (0x0004 and 0x0010, respectively) and link down interrupt (0x0010).
** Looks like CubeMX 6.3.0 sets these incorrectly when starting with the NUCLEOF746 board