linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Is it normal for serial ports to drop characters at the end?
@ 2000-05-03 15:30 Brown, David (dbrown03)
  2000-05-03 19:27 ` Marcus Sundberg
  0 siblings, 1 reply; 4+ messages in thread
From: Brown, David (dbrown03) @ 2000-05-03 15:30 UTC (permalink / raw)
  To: linuxppc-embedded


I see characters dropped at the end of a write to a serial port.  Surely
that isn't normal.
I'm using the current MontaVista 2.2.13 kernel patched for my custom
860-based board.  The serial ports are running at 9600.

When I do this:
init-2.00# help while >/dev/ttyS1

I see this (on ttyS1):
while: while COMMANDS; do COMMANDS; done
    Expand and execute COMMANDS as long as the final command in the
    `while' COMMANDS has an exit status of .

It's slightly different each time, garbling or dropping characters from
"zero."
This happens on ttyS1 (SMC2), ttyS2 (SCC2), and ttyS3 (SCC3).
If I send a longer message (help set >/dev/ttyS1) I see the same thing: all
prints okay except the last several characters.

Same board as has SCC serial problems when ethernet is used, but I'm
thinking its not related to that since this problem happens for SMC2 as
well.  Could it be that when a serial port is closed, the uart is disabled
immediately instead of waiting for output to finish?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-05-03 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-03 15:30 Is it normal for serial ports to drop characters at the end? Brown, David (dbrown03)
2000-05-03 19:27 ` Marcus Sundberg
2000-05-03 19:53   ` Dan Malek
2000-05-03 20:05     ` Marcus Sundberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).