[En-Nut-Discussion] The Ethernut board 1.3 drops UDP packets
Louis B
louisjbarman at hotmail.com
Mon Sep 13 15:47:16 CEST 2004
Hi,
I have been running some tests with the Ethernut 1.3 and it appears that the
Ethernut 1.3 is dropping some UDP packets. For the test I have compiled and
run the udpClient.c program available from
http://pont.net/socket/index.html on Red Hat Linux 9.0. When running
udpClient each parameter on the command line is sent as a separate UDP
packet.
I am using the NutUdpReceiveFrom() to receive and then print out all the UDP
packets.
However only the LAST UDP packets is being received.
Is this normal or am I doing something wrong?
I have checked that the all packets are being sent using Ethereal
I have also tried commenting out the printing of the packet and just
counting the packets instead and the first UDP packets are still being
dropped.
The Linux machine is connected to the Ethernut using a D-LINK 10BASE-T
Ethernet
Mini Hub. So everything should be running at 10 Mbps.
Adding usleep(0) to line 82 of udpClient.c makes all the packets appear.
Your FAQ states About 6 kByte of incoming Ethernet frames can be stored in
the Ethernet controller without CPU intervention..
I would have hoped that extra frames would be queued up inside the Ethernet
controller instead of being dropped.
Louis B.
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
More information about the En-Nut-Discussion
mailing list