Processor: TMS570LS3137
Hi all,
I have initialized the EMAC with its MAC address. I am able to transmit a frame to a specific MAC (my laptop), but I am not able to receive ethernet frames directed for my MAC. I am able to receive only frames having broadcast MAC, i.e., 0xFFFFFFFFFFFF.
The frame is received only when I turn ON the promiscuous mode. So my guess is I am not able to set MAC address properly. However, I have checked the MACSRCADDR and MACADDR registers of EMAC and they are getting set properly (there is no issue of endianness).
The initialization process of EMAC includes,
- initializing PHY/MDIO,
- establishing the link,
- initializing EMAC core,
- Setting MACSRCADDR and MACADDR register,
- Set RxUNICASTSET register,
- Enabling Rx, Tx and MII mode.
Can anyone please help me out with this? Is the process of initialization wrong or maybe I have not set any of the register properly?
Thanks in advance,
Ankit