This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
nobody can help me?
Pls help me !!
thank you
Is this a DM355 EVM from Spectrum Digital or your own custom DM355 EVM?
If our EVM, I have not had time to investigate this, but one thing that comes to mind is that both NAND flash and DM9000A ethernet controller both share the EMIF bus hence maybe only one can be active at a time (depends on software implementation which I have not had time to dive into). Can you do any network activities (e.g ping successfully) when running NAND flash file-system?
Do you mean multicast or broadcast? If it's multicast you may need to add a route. Run the route command and see if you have a route for 224.0.0.0.
I'm not positive about this but on another embedded device I had to do the following before I could receive multicast.
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
I found a little more supporting info in this link...
http://andrew.triumf.ca/pub/linux/multicast-FAQ
I wish we could edit these posts. I'm thinking that the route is only for sending and not for receiving. Which means none of what I'm saying is relevant. I ran into the problem with some code that both sent and received, and IIRC the problem was failure to send.
Are there any demo software on the dm355 evm or dm365 evm doing ethernet comms? I want to receive UDP data with my evmdm365 and am looking for information so even dm355 code might give me guidelines of what to do as I am very new to network programming.
Thanks, Jinh T.
Hi Jinh,
Unfortunately, TI does not have any demo software on the DM355or DM365 EVM doing Ethernet Comms. At the Linux IP stack level, it does not matter which hardware you run on. Using Sockets programming, all you need is the IP address and port number of source and destination. For examples on socket programming, there should be references on the internet as well as Text books available. Example : http://stackoverflow.com/questions/337422/how-to-udp-broadcast-with-c-in-linux
Thanks.
-Tai
It's looks like this thread has been resurrected. But I'll add something that I should have posted before. In order to receive multicast packets you need to join the multicast group associated with the multicast IP. This is done though the socket option command.
\setsockopt (socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq));
Check this link for information....