Hi,
I am trying to test Ethernet using standalone program without using any OS. I designed a new board based on I.MX28EVK and want to test ethernet. I tried ODBS to test the Ethernet and it works fine but it using ddr2. So, I just added Ethernet driver files from ODBS to my standalone program and when i am trying to test, it showing error as follows
ENET0<->ENET1 loopback test
Please make sure cross-switch Ethernet cable (typically red) is present
FEC LAN8720 PHY: ID=x
enet phy status 0: 782d
FEC 0: [ FULL_DUPLEX ] [ connected ] [ 100M bps ]
ENET link status check PASS
send packet Enet0->Enet1
enet0 tx ok
enet1 rx fail
Ethernet Failed
cycle pass
I attached the program for your reference. I don't know what am missing while adding Ethernet driver file to my standalone program. Can anyone please give suggestion to solve this problem.
Original Attachment has been moved to: Ethernet_test.rar
Hi,
Have you tried to migrate or test the entire obds in your board?
If so and it works, I would take a look at the clock settings first.
I wonder if you are able debug to start narrowing down the difference between projects.
You may want to try to add your application to the obds, just to make sure that the problem is not at application level.
Best Regards,
Alejandro