[ECOS] How to enable serial interrupt of 16550

Nick Garnett nickg@ecoscentric.com
Fri Jul 16 10:30:00 GMT 2004


"Aniket S Joshi" <aniketsj@myw.ltindia.com> writes:

> I am using the same Serial driver written in ECOS for 16c550 serial
> controller. & Able to Communicate (transmit & Receive ) data on
> serial port but not able to Enable the interrupt for that same
> port. I want to implement serial communication on interrupt.  Do i
> need ti change any ecos settings to enable that perticuler serial
> interrupt.  I tried to use function cyg_interrupt_create (....) &
> cyg_interrupt_attach(..) with given ISR function but it is not
> working
> 
> 
> Pls guide me to solve this problem

You need to enable the serial driver in the configuration by enabling
CYGPKG_IO_SERIAL, this will automatically include the serial
drivers. You don't need to write any code to do this.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


-- 
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