On Sun, 22 Oct 2006, mikedupuis2000 wrote:
> nope...not joking...I am that stupid..teehee.
>
> How do I write I kernal/module driver?
There are examples around - try googling.
> I designed a A/D card and I need to acquire data at about 1MByte/s. It
> works perfectly up to 8 or 9 seconds but I need 25 seconds worth of
> data. I have a 4K FIFO but it looks like I would need at least a 32K
> FIFO...maybe more.
You could try recompiling the kernel with a high jiffy rate - say 1024Hz
There have been some past posts in the group on this.
You can try re-'nice'-ing you program to have a higher priority
You could try patching the kernel with the pre-emptive, low-latency
patches (try googling "pre-emptive low latency 2.4 linux kernel patches")
Or you could just up your fifo :-)
> Are there other processes I can stop?
Probably, but there are no guarantees about timing.
>
> Thanks.
>
> Mike
>
> --- In Jim Jackson <> wrote:
> >
> >
> >
> >
> > On Sun, 22 Oct 2006, Mike Dupuis wrote:
> >
> > > I am using a TS-7200. How do I disable the interrupts so my code does
> > > not get interrupted. I am using GCC on Debian Linux. Usually I use
> > > commands like "cli" and "sti" but these are not recognized when I
> try to
> > > compile my program.
> >
> > :-) you are joking aren't you?
> >
> > You can only do that sort of thing in the kernel.
> > If your code really cannot be interrupted, then you should be writing a
> > kernel module/driver for your specific purpose.
> > Just out of curiosity, what is it you don't want interrupting?
> >
> > Jim
> >
>
>
>
>
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/
|