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: problem about interupt


It's so pitty that it seems that interrupt doesn't hit
my interrupt service(DSR and ISR). I really puzzled by
it.
As I know the mice interupt vector is 5.Maybe there is
wrong with my interupt setting.Is eCos give some
special interupt setting? please give me some advice. 

ps:if I set mice on com2 port,which interupt vector
should be used?

--- Jaiprakash <jaiprakash@inablers.net> wrote:
> 
> ----- 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.
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


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