This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Interrupt driven serial communication on AT91
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Tom Deconinck <t dot deconinck at gmail dot com>
- Cc: ecos-discuss at sourceware dot org
- Date: Fri, 7 Mar 2008 12:43:03 +0100
- Subject: Re: [ECOS] Interrupt driven serial communication on AT91
- References: <e37cb5250803062327n43f4e954j3a14ec010544bc05@mail.gmail.com>
On Fri, Mar 07, 2008 at 08:27:56AM +0100, Tom Deconinck wrote:
> Hi,
>
> I'm trying to use the interrupt driven driver on the debug serial port
> of the AT91 using the CYGPKG_IO_SERIAL_ARM_AT91.
> I figured out that the debug port is linked with
> CYPKG_IO_SERIAL_ARM_AT91_SERIAL2 and I have enabled termios and the
> tty-mode serial device drivers on it.
> The only result I get by doing that is that I get spurious interrupts
> at runtime.
> Is there anything that needs to be explicitly disabled? Or did I miss
> something else?
Which AT91 device?
Which interrupt is generating spurious interrupts?
The DBG USART interrupt is multiplexed on the System Interrupt. Does
you platform define the necessary macros so that the code in
hal/arm/at91/var/current/src/at91_misc.c demultiplexes the system
interrupt?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss