This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: EDB7312(ARM720T) interrupts
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Aaron Case <aaron dot case at dynazign dot com>
- Cc: Andrew Lunn <andrew at lunn dot ch>,Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: 14 Nov 2003 16:08:53 -0700
- Subject: RE: [ECOS] EDB7312(ARM720T) interrupts
- Organization: MLB Associates
- References: <GBEOKKOEOGFDMKDFCHIMCEMOCAAA.aaron.case@dynazign.com>
On Fri, 2003-11-14 at 15:22, Aaron Case wrote:
> Andrew,
>
> The interrupt named in the cyg_interrupt_create() call is from the
> hal_platform_ints.h file and is an onboard UART to the ARM 720T core of the
> EDB7312 microprocessor. To my knowledge all that is needed is to program the
> syscon1 register to enable UART1 and to enable interrupts. I have verified
> this is done by the eCos system startup routines with my ICE.
>
> Is there something else that I am missing??
Try looking at the serial I/O drivers for this platform. They use
interrupts and work just fine, so the answers you seek will be there.
devs/serial/arm/edb7xxx/
>
> Thanks,
> Aaron
>
> -----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 <gary@mlbassoc.com>
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