[ECOS] Help with Interrupt driven Serial ports in EB40A

Giri Raja giri_amf@yahoo.com
Fri Apr 2 20:17:00 GMT 2004

   I'm trying to write a small application, which
would accept data from /dev/ttyS0 and convey it via a
GDB session from /dev/ttyS1. 
I want the reception of data from /dev/ttyS0 to be
interrupt driven. Should I then create a interrupt
using cyg_drv_interrupt_create with the USART0
interrupt vector? And should I also create my own ISR
and DSR, then use the device handle to read and wirte?
I'm confused because I saw an implementation of the
serial drivers' ISR and DSR implementation in
at91_serial.c located under 

Shall I just ignore it and just include
<cyg/hal/drv_api.h> .

Your response would be very helpful.

Thank you in advance.


p.s: This is a repost, I'm desperately seeking for
help. Thank you for your patience.

Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list