logo       

FW: Datagram stuck and then sent twice: msg#00583

hardware.microcontrollers.tini

Subject: FW: Datagram stuck and then sent twice


Could this problem be due to a missed interrupt?

-----Original Message-----
From: tini-admin-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
[mailto:tini-admin@xxxxxxxxxxx]On Behalf Of
Andy Turcotte
Sent: Wednesday, June 18, 2003 4:11 PM
To: TINI-5ZoS9duIjYpBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
Subject: [TINI] Datagram stuck and then sent twice



My java app receives and sends datagram packets to a Windows 2000 server.
The server can randomly report (one in ~2000 sends) that it has received
the same packet twice. (The server is checking a uniquely stamped 16-bit
cyclic sequence number within each packet.)
The server does not report this problem against similar code running on
Windows.

I've confirmed that the app is thread-safe and isn't throwing any
exceptions.
I've added debug checking to catch my app in the act but the checks
don't report a problem.
When the the problem occurs, there is a noticeable pause in network
communications. The server reports the problem at the end of this pause.
I've placed debug statements in my app before and after the send().
They show the send occurring (and completing) at the beginning of the pause.
>From this it appears that the packet is not leaving the TINI until
the end of the pause, at which time two copies of it are being transmitted.

I'm running version 1.11 of the TINI OS on a TBM390.

Can the datagram be getting stuck momentarily within the TINI OS, and then
be unstuck (twice) later by incomming traffic?
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise