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/
|