Dear TI,
I used PA EMAC example code for receiving UDP data from network. But the example code is inconsistent, in the code it is expected to give an interrupt on receiving data from network. And this interrupt is not being raised even though ALE is listening (MAC address of the UDP sender is getting printed) on the senders MAC address.
I'm using iperf client to pump UDP data. I made arp entry with the board IP address and Gbe port 0 MAC address. Accordingly changed the Loopback mode to NONE and configured the PA dest MAC address to Gbe Port 0 and dest IP address to the board IP address in PA EMAC example code.
This code base sometimes works and sometimes does not work. Then I took fresh code from the example directory and did the changes it started working. Dont know why it was not working before with the same configuration.
I noticed same inconsistent behaviour with polling mode from PA to Host. I took Multicore sample project and modified it to receive UDP data from the network. Initially there was some problem in receiving the packet, when i kept the break point in the verify packet function it started hitting the break point and UPD traffic is received from the network. The same code base is not working now, there are no code changes done.
Is there any timing issue or cache issue for this inconsistent behaviour?
How can I avoid or solve this inconsistent behavior while receiving data from network using NETCP?