ts-7000
[Top] [All Lists]

Re: [ts-7000] Timer 1 periodic interrupt

To:
Subject: Re: [ts-7000] Timer 1 periodic interrupt
From: Lennert Buytenhek <>
Date: Thu, 16 Mar 2006 22:20:39 +0100
On Thu, Mar 16, 2006 at 07:46:54PM -0000, lotsi01 wrote:

> Hi all,

Hi!


> I want to write a program that uses the interrupt from timer 1 to, 
> for example, increase a counter. I have been reading the EP9301 User 
> Guide and the messages in this group, but I can't figure out how to 
> do it. So far I think I have managed to get the timer to work, but as 
> for the interrupt, I'm stuck.

You can't catch the interrupt from userspace, the only way to handle
it is to write a small kernel driver (which then perhaps passes the
interrupt to userspace.)  I can whip something like this up if you're
interested, what kernel version are you using?


> The TS-7250 is not very responsive after I have run this program, 
> maybe it has something to do with some unhandled interrupt.

It's likely that the version of linux you use uses timer 1 for the
periodic (10ms) timer interrupt, so when you reprogram it, the time
of day will run faster or slower than usual, which can confuse a
lot of things in the system..


--L


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<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