--- In "JD" <> wrote:
>
>
> An interesting thing I just saw on the linux box is that if (in a
> simple case) have hyperterm connected and press keys, it works ok
> until I disconnect and reconnect hyperterm (without restarting the
> test app)
>
> On the hyperterm restart, nothing I type into hyperterm registers as
> being seen on the linux end.
>
> Is it a frame error or some other signal occuring that is stopping
> everything?
> And if so, how do you detect and clear (or just plain old ignore)
> errors coming in.
>
> Windoze has a ClearCommError which gets and clears any errors - is
> there a similar function I should use for linux?
>
Did you try the CLOCAL change I wrote in my first reply?
I've seen two different things documented as to what happens when both
VTIME and VMIN are zero. Maybe there is a difference between ARM and
i386 serial port handling of this case. You could try VMIN = 1, perhaps.
There are some quite detailed howtos on linux serial port programming.
You may find asnychronous I/O better suited for what you want than
non-canonical.
Regards, ........Charlie
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|