This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: isr routine does not invoke for RTC interrupt


Ok,
     i have used the system timer and not the RTC..the interrupts are 
gettin generated , but the isr routines are not being called..what could
be the reason..?

thanks
satish




On Wed, 17 Sep 2003 12:14:16 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> On Wed, Sep 17, 2003 at 06:50:04PM +0900, Satish Kumar wrote:
> > 
> > Hi,
> >    i m testing this clocktruth.cxx in the kernel/tests/ directory
> > to test my on-board timer. well i see that though the corresponding
> > timer interrupt gets generated, the isr routine is not called..i don`t
> > understand how to solve this problem.
> > 
> >    also my RTC time period is set to 1, since it generates 1 sec
> > timer interval for 1 Hz clock input. i m not sure were i have gone wrong.
> > 
> > plz feel free to ask details to answer my queries..
> 
> RTC means real time clock. It gives you the time of day, 11.07 BST,
> 17/09/2003. 
> 
> eCos does not use this sort of clock. eCos uses a plain timer. These
> are generally a count down register clocked by a high speed
> clock. When it reaches zero, it interrupts and reloads the
> counter. eCos normally sets this up to generate 100 interrupts per
> second. 
> 
> So you need to change you HAL so that i uses a timer and not the RTC.
> 
>    Andrew
> 
> 

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]