This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem about interupt
- From: "Jaiprakash" <jaiprakash at inablers dot net>
- To: "li hui" <lhbyron at yahoo dot com>
- Cc: "ecos-discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 21 Nov 2001 16:30:00 +0530
- Subject: Re: [ECOS] problem about interupt
- References: <20011121031221.38891.qmail@web14703.mail.yahoo.com>
----- Original Message -----
From: "li hui" <lhbyron@yahoo.com>
To: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, November 21, 2001 8:42 AM
Subject: [ECOS] problem about interupt
> I try to write a mouse driver on ecos for i386 target.
> I set interupt vector as 5,and use DSR to response
> interupt.But to my surprise, it seem that DSR routine
> dosen't response the interupt at all. That's why?
> my program is below:
first make sure the interrupt's hitting and service it in the isr itself
without resorting to DSRs as of now. if all's fine , use main( ) instead of
cyg_user_start( ) in your application, since interrupts are not enabled in
cyg_user_start.