From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5133 invoked by alias); 17 Nov 2003 16:02:14 -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 5122 invoked from network); 17 Nov 2003 16:02:12 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 17 Nov 2003 16:02:12 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id B290150D8B8; Mon, 17 Nov 2003 09:02:09 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id CF4C750D8A1; Mon, 17 Nov 2003 09:02:08 -0700 (MST) From: Gary Thomas To: Aaron Case Cc: Andrew Lunn , Ecos-Discuss In-Reply-To: References: Content-Type: text/plain Organization: MLB Associates Message-Id: <1069084928.1961.10.camel@hermes> Mime-Version: 1.0 Date: Mon, 17 Nov 2003 16:02:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: RE: [ECOS] EDB7312(ARM720T) interrupts X-SW-Source: 2003-11/txt/msg00225.txt.bz2 On Mon, 2003-11-17 at 08:57, Aaron Case wrote: > Hello, > > For purposes of updating the list I see now why it didnt work. I used the > interrupt vector instead of the handle in the cyg_interrupt_attach() call. > Refer to the bogus code I posted in the previous listing. Opps. > I'm curious how you found this? by inspection? did you try enabling asserts? > thanks, > Aaron Case > > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Friday, November 14, 2003 5:13 PM > To: Aaron Case > Cc: Gary Thomas; Ecos-Discuss > Subject: Re: [ECOS] EDB7312(ARM720T) interrupts > > > On Fri, Nov 14, 2003 at 05:07:29PM -0500, Aaron Case wrote: > > Gary, > > > > Many thanks, that cleared up my understanding of eCos interrupts a great > > deal. Although, I still cant seem to achieve software connectivity with > the > > eCos interrupt model. > > > > While testing my interrupt code I have observed that I can assert bits in > > the interrupt status register by sending characters to a UART. As well as > > enabling them with cyg_interrupt_unmask() call(see below). > > > > I, however, have not be able to get the ISR(and thus DSR) to execute(via > > break points with my MAJIC ICE). > > > > In the case of the UART1 RX interrupt, I can send a character, verify its > > arrival at the buffer and FIFO, but no ISR or DSR is executed. Im assuming > > the problem is my software configuration(which is REALLY close to the > Massa > > text). See code below. > > I don't see anywhere in your code where you program the serial chip to > actually enable it to generate interrupts. Also, does eCos provide a > serial driver for this chip? If so, that driver may already have the > interrupt. > > Andrew -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss