PLEAE TELL in this below example how the developed decided these phy address and mac address
Hi @achal ,
What you marked in the screenshot is mac address. PHY address is defined in board.h
/*! @brief The ENET PHY address. */
#define BOARD_ENET0_PHY_ADDRESS (0x02U) /* Phy address of enet port 0. */
Regards,
Jing
Hi @jingpan
Thanks for responding, can you please tell why phy address is defined as 0x02 only and why not something else like 0x03 or 0x04. Is there any document which mentions that if we have to work on this board then 0x02 has to be used as phy address.
Can you please also tell that how this particular MAC address is chosen? same is it given in some document ?
Hi @achal ,
PHY address is determined by PHY address config pins on the PHY chip. Please refer to the EVK board.
MAC address is random in the demo. Officially it is allocated by IEEE (Institute of Electrical and Electronics Engineers), the last three bytes, the hexadecimal number AE-3C-40 represents the serial number of a certain network product (such as network card) manufactured by the manufacturer.
Regards,
Jing