From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27646 invoked by alias); 17 Sep 2003 16:13:26 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 27638 invoked from network); 17 Sep 2003 16:13:24 -0000 Received: from unknown (HELO hotmail.com) (64.4.23.50) by sources.redhat.com with SMTP; 17 Sep 2003 16:13:24 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 17 Sep 2003 09:13:23 -0700 Received: from 63.164.145.198 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 17 Sep 2003 16:13:22 GMT X-Originating-IP: [63.164.145.198] X-Originating-Email: [embeddedeng@hotmail.com] From: "Michael Anburaj" To: satish@bvt.sc.sanyo.co.jp, ecos-discuss@sources.redhat.com Bcc: Date: Wed, 17 Sep 2003 16:13:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Sep 2003 16:13:23.0206 (UTC) FILETIME=[9E2E8260:01C37D36] Subject: Re: [ECOS] isr routine does not invoke for RTC interrupt X-SW-Source: 2003-09/txt/msg00304.txt.bz2 Hi, Interrupt controller Registers: 1. The corresponding Interrupt Mask bit could be set 2. If there is a global interrupt Mask bit; could be set ARM core register: 3. I bit in CPSR set . -Mike. >From: Satish Kumar >To: Satish Kumar >,ecos-discuss@sources.redhat.com >Subject: Re: [ECOS] isr routine does not invoke for RTC interrupt >Date: Wed, 17 Sep 2003 19:17:26 +0900 > >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 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 > > >-- >Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos >and search the list archive: http://sources.redhat.com/ml/ecos-discuss > _________________________________________________________________ Fast, faster, fastest: Upgrade to Cable or DSL today! https://broadband.msn.com -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss