From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24049 invoked by alias); 27 Jun 2003 02:33:13 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 24039 invoked from network); 27 Jun 2003 02:33:12 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.2) by sources.redhat.com with SMTP; 27 Jun 2003 02:33:12 -0000 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id EDF22800041; Thu, 26 Jun 2003 22:33:11 -0400 (EDT) Received: from tooth.toronto.redhat.com (IDENT:FqR5UKFf9th/+STZ+jXuTiPgNFG2VM2f@localhost [127.0.0.1]) by tooth.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id h5R2XBVm008104; Thu, 26 Jun 2003 22:33:11 -0400 Received: (from fche@localhost) by tooth.toronto.redhat.com (8.12.8/8.12.8/Submit) id h5R2XB84008102; Thu, 26 Jun 2003 22:33:11 -0400 Date: Fri, 27 Jun 2003 02:33:00 -0000 From: "Frank Ch. Eigler" To: Partha Palit Cc: sid@sources.redhat.com Subject: Re: how to generate external interrupts Message-ID: <20030627023311.GA7068@redhat.com> References: <20030624191120.GC1520@redhat.com> <20030626224659.41279.qmail@web12904.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030626224659.41279.qmail@web12904.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-q2/txt/msg00058.txt.bz2 Hi - > [...] > Kindly advise if my approach is correct. I edited the > sid.conf as follows- > new sid-sched-sim sensor-sched This part is not necessary. You could reuse the existing sim-sched-sim instance - just use a new unused client number. (If were to use a new scheduler instance, you would have to connect its upstream "advance" pin to an appropriate source.) > //then I set the num clients to 5... > //then connected the sched event to the intrctrl... > connect-pin sensor-sched 1-event -> intrctrl source-16 > //then I appropriately set the 'regular' and 'time' > attributes. All correct, I'm impressed! > The problem is that I am unable to catch the > interrupt.I am using eCos as the RTOS. [...] > Also, when I checked the eCos header file > (hal_intr.h), max interrupts were set to 8.If,possible > could you kindly comment on this? I am sorry, but I'm not familiar with that low-level aspect of eCos. I suspect choosing a lower interrupt number would help, as might putting breakpoints into eCos functions for setting interrupt masks and dispatching received interrupts. If you suspect a sid (rather than eCos) problem, consider monitoring the interrupt controller with tksm, and manually sending interrupts from the pin view. > P.S: my platform - ARM-PID. This suggests that you should be using the an arm-cpu configuration for sid that includes models for selected peripherals of the pid board, like the sid/pregen/arm-pid.conf file. Sending a diff between that file and your modified version would help diagnose problems in the future. - FChE