ts-7000
[Top] [All Lists]

Re: [ts-7000] Missing characters in Serial I/P

To:
Subject: Re: [ts-7000] Missing characters in Serial I/P
From: Larry <>
Date: Sun, 22 Feb 2009 19:53:04 -0500
I think you are dead on with the flash write theory.
I ran into a similar problem on the 7250, and after carefully eliminating flash
writes, I fixed the problem. I'll bet you're missing characters other than the >,
and just are less able to detect that.

Donal wrote:

Hi There,

I have an application that constantly reads/writes to serial. It is written in QT, using QExtSerialPort POSIX library.
I send a command and the response ends around 250ms later. But since all commands are different, I don't want to sleep
for the worst case (bout 300ms) and then read. Instead I want to keep reading until I hit a '>' character that is always the end of a response.
This works fine, I get my responses in about 230ms.

However the problem is, when I am using the app on my TS7390, I randomly miss the '>' character.
This could happen in 1 minute after starting my app, or it could keep going for say 10 minutes.
This results in a loop to infinity waiting for the > character that was supposed to come but never did.

My theory is that since I am running of SD, I may be getting those random SD writes that hang the system.
Would this cause a character to be dropped and not even get into the serial buffer?
I am currently in development stages, so can't move onto NAND just yet.

Alternatively I can implement a timeout feature, but my main question here is, with a SD write operation, is it possible for
the serial in buffer to reject or drop a character.

It's a bit of an annoying problem!

Oh yeah, memory, CPU usage of this application isn't a problem. A healty 8% CPU use, with about 14% mem usage.

Thanks,

Regards,
Donal


No virus found in this incoming message. Checked by AVG. Version: 7.5.552 / Virus Database: 270.11.2/1965 - Release Date: 2/21/2009 3:36 PM


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU