Ethernet Lwip rx problem
Hi,
I am using a BF518F Custom board with DP83848C PHY IC. When we are calling API function select(1,&readfds,NULL.NULL,&time) function, it is not able to detect any read descriptor. But when the stack is initialized I am getting gratuitous ARP from the board and when I am trying to ping PC from my board I am able to observe the ARP request from the board. But I am not able to receive any data. The EMAC register status also iam attaching.
From the register reading what I understand is that board is receiving data but because of FCS error it was unable to process it. Please suggest whether my understanding is right or wrong? Please give suggestion on how to get rid of FCS problem.
With regards
Gireesh.M
Hi Gireesh,
From the first look at the register values that you have shared, it seems that FCS error is encountered because of which the packet is dropped. However, to confirm if the issue is caused by a board connectivity issue or a software issue in your application, could you please try the following? Can you please try to run an example code available with VDSP installation, and let me know if you hit similar issue? If yes, then we may need to look at the hardware connections. If you don't see an issue with the example codes, and the failure happens only with your application code, we will then need to look at the code.
Regards,
Vineetha
Hi Vineetha,
Your suggestion was right. After erplacing the ethernet controller circuitry my application started working normally.
Thank You
With regards
Gireesh.M
Please log in to reply.

