Donal,
I'm not using SD, but internal flash. I made some tests here and noticed that
flash is faster than the SD, and more reliable.
Ts support said maybe it can be a problem related to processor usage, because
uart buffer has only 5 bytes, so, it overflows during hi-processing tasks. The
suggestion is making the thread less 'nice'.
It seems the problem is solved. I'll make more tests, but for this moment it's
enough.
Regards
Adriano
--- In "Donal O'Connor" <> wrote:
>
> Actually there's a discussion on it a while back.
>
> On Tue, Aug 4, 2009 at 11:24 PM, Donal O'Connor <>wrote:
>
> > This is very interesting. I had the exact same problem a while back using
> > Qextserialport.
> >
> > Are you working off the SD card, as I found that, once that locked up, to
> > 100% CPU usage, it was if the world stopped.
> >
> >
> > On Tue, Aug 4, 2009 at 11:11 PM, Adriano Naspolini <>wrote:
> >
> >>
> >>
> >> Hi,
> >>
> >> I have a strange problem using 7390 serial ttts5. Sometimes it looses some
> >> chars.
> >>
> >> The problem usually happens when the processor is working over 95%, and
> >> memory is over 85MB (90 available), so I think the problem is related to
> >> it.
> >>
> >> My program has 2 threads (first for gui and second to execute the
> >> "underground" work).
> >> This underground thread sends and reads information to and from serial
> >> ports.
> >> I use ttts5 connected to a PID controller and ttyAM0 connected to a GPS.
> >> With this configuration, I can't receive correct status messages from
> >> controller (but can send). If i change the ports (ttts5 to GPS), GPS
> >> messages don't arrive fine (I don't send messages to GPS).
> >>
> >> This port swap makes me think the problem isn't related to my program
> >> (same port, different codes).
> >> I have tried my own serial lib, seriallib-0.6 from sourceforge and
> >> QextSerialPort from Qt.
> >>
> >> Any Ideas?
> >>
> >> Adriano
> >>
> >>
> >>
> >
> >
>
------------------------------------
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/
|