ts-7000
[Top] [All Lists]

[ts-7000] Re: Scheduled activity on a TS-7800

To:
Subject: [ts-7000] Re: Scheduled activity on a TS-7800
From: "Anouk Ahamitet" <>
Date: Thu, 19 Jun 2008 14:17:59 -0000

--- In "charliem_1216" <> wrote:

>... Better to fix your A/D code so it is insensitive to system load.

We're working on it, but since ts-linux doesn't have very accurate timers (minimum usleep() appears to be almost 10 MILLISECONDS and the min nanosleep() is about 3.5 MILLISECONDS) we're stuck doing a busy wait on the built-in microsecond timer on the TS-7800 in order to get accurate (and fast) enough timing on our A/D operations (note: we're using a 3rd party A/D, not one of  Technologic's because the TS A/Ds don't support the input voltage ranges we require and/or don't have enough resolution).

We wish that Technologic had altered their custom kernel to use their high resolution (microsecond) timer on the TS-7800 or at least offered a customer HRT device that used it to offer precision delays.  As it is, we either need to add learning to write linux device drivers to our schedule, or sti ck with the busy waits while reading the current microsecond from their timer that we are doing now.  If the timer could've been used as a precision count-down timer that generated a signal (or interrupt or whatever) we use it that way to keep our app from spending 99.9% of its time from spinning while reading the next microsecond.  Maybe the 7800 Mark II will have that... (I can dream, right?)

> Of course, stopping un-needed process like you are doing is always
> good in any case.

Agreed. :)

> What kernel version are you using?

From the login prompt, /etc/issue, and /proc/version (respectively):

Debian GNU/Linux 3.1 ts7800

Debian GNU/Linux 3.1 \n \l

Linux version 2.6.21-ts (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #4 PREEMPT Tue Jun 10 17:13:00 MST 2008

__._,_.___

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