Hi,
I'm a beginner in microprocessor programming. I'd like to send some UDP Packets to my AM335x Starter Kit, process the content and send back some packets. My only experience since now in Ehternet programming is using the UDP Class in Energia, wich has a pretty straightforward interface for a beginner like me. But lwip in the AM335x's StarterWare seems to be a bit more complicated. Browsing through the examples brought more questions then answers to me.
What I think I got so far, is that incomming packets generate a interrupt, which initiates a DMA transfer. Did I get it right so far? But how do I use this data then? How is any function called that handles this data? How do I get the system to call my function after receiving packets and pass a pointer to the received data to my function so that it might process the data? And how do I send data from the board?
I think I'm really missing the basic concept behind all this. So I would be glad if anyone just could describe what happens after receiving a UDP packet, so that I knew what I should look for in the ethernet examples (even if they are TPC and noch UDP examples).