This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: serial line ISR problem -- again:(


Piotr Trojanek wrote:
On Tue, Sep 09, 2003 at 09:46:39AM +0200, Eric Doenges wrote:

If you want your DSR to run, I believe you have to
return CYG_ISR_HANDLED | CYG_ISR_CALL_DSR;
here. This may be your problem.


no, I was trying to live without any DSR  -- incrementing 'voilatile int'
in ISR and printing it in 'for(;;) printf(...)' thread. it doesnt work:(
ISR doesn't run at all.


Since I'm not familiar with 16550 programming, I don't know if you are using it correctly (you might want to check your code against the generic 16550 driver included with eCos). Are you sure COM1 is located at IO address 0x3f8 and uses IRQ 4 ? Many boards' BIOSes allow you to change at least the interrupt line used. -- -------------------------------------------------------------------- | Eric Doenges | DynaPel Laboratories GmbH | | Tel: +49 89 962428 23 | Fraunhoferstrasse 9/2 | | Fax: +49 89 962428 90 | D - 85737 Ismaning, Germany | --------------------------------------------------------------------


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]