To: | |
---|---|
Subject: | [ts-7000] Missing characters in Serial I/P |
From: | Donal <> |
Date: | Sun, 22 Feb 2009 18:48:20 +0000 |
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 __._,_.___
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> |
---|---|---|
|
Previous by Date: | [ts-7000] Problem redBoot, lazo93600 |
---|---|
Next by Date: | Re: [ts-7000] Missing characters in Serial I/P, Gopi Flaherty |
Previous by Thread: | [ts-7000] Problem redBoot, lazo93600 |
Next by Thread: | Re: [ts-7000] Missing characters in Serial I/P, Gopi Flaherty |
Indexes: | [Date] [Thread] [Top] [All Lists] |
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