ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] [Fwd: Weather monitor]
freemanb.us.ibm.com
Tue, 13 Jul 1999 14:47:39 -0500




I'm not familiar with the details of how W9X works internally, but my experience
with other OS's has been that RX overruns are quite frequently the result of
some element of code that spends too much time with interrupts disabled to allow
a comm service routine to unload the UART on time.    Since the OS routine that
unloads the UART runs on an interrupt level, an application subsequently polling
for buffer status would very likely NOT see the buffer as full.     Ignoring the
error may not be appropriate if that is what is going on.    Since the data
received may be suspect (i.e at least one byte potentially overwritten in the
UART), perhaps it might be more appropriate to consider repeating the I/O
operation that encountered the error, if such is possible.


Bill Freeman
freemanb@us.ibm.com



Mark Gilmore <omnip@usit.net> on 07/13/99 12:58:09 PM

Please respond to ecs-list@netbloc.com

To:   ecs-list@netbloc.com
cc:    (bcc: Bill Freeman/Austin/IBM)
Subject:  Re: [ECS] [Fwd: Weather monitor]





Hi Jerry,
You are not alone, as many of us have seen this from
time to time. I think Win is returning a false error
for reason unknown. I have just added logic to ignore
it if the RX buffer is not full (in which case we know
that the "overrun" error is bogus). I'll be uploading
this to ECSB.ZIP soon.

Jerry Swords wrote:
>
> I meant to send this to the Mark and the list, but entered only Mark's email
> address.  Anyone else had this problem?  Seems similar to the problem that
> Mark Sekelsky was having last week.
>
>   ------------------------------------------------------------------------
>
> Subject: Weather monitor
> Date: Tue, 13 Jul 1999 10:17:11 -0400
> From: Jerry Swords <MIABreeze@accesspro.net>
> To: Mark Gilmore <omnip@usit.net>
>
> Hi Mark,
>
> I've been having a problem, sporadically, since I connected my Davis Weather
> Monitor II to ECS, but have had other, more pressing problems, and haven't
> really tackled the weather problem yet.  Several times a day, I will get the
> following message:
>
>      ERROR:CCE3:COM2(COMM err#2: RX overrun) (Item: "Weather-Interface")
>
> Any ideas what might be causing this problem?
>
> Thanks,
> Jerry Swords

--
Mark Gilmore
Omnipotence (ECS Home Automation Software)
omnip@usit.net
http://www.usit.com/omnip




  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.