public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* cyg_interrupt_create does'nt create isr
@ 2006-04-26 10:55 sumanth
  2006-04-26 17:09 ` Paul Chavent
  0 siblings, 1 reply; 2+ messages in thread
From: sumanth @ 2006-04-26 10:55 UTC (permalink / raw)
  To: ecos-devel


Hi all,
                 I am porting ecos for Intel xscale ixp425 evaluation board
, i am done up to cyg_user start, i have written a small serial program
which works for the polling mode , so i want to test the same in interrupt
mode ,so i have written

cyg_interrupt_create(int1_vector,int1_priority,0,&interrupt_1_isr,&interrupt_1_dsr,
                              &int1_handle,&int1);
cyg_interrupt_attach( int1_handle );
cyg_interrupt_unmask(int1_vector);

i am using axd debugger to debug, the code runs without any exceptions and
errors but it does'nt enter into ISR or DSR

Do i have missed any initilizations regarding interrupts in my port,have any
one faced problems please help me, i am doing hal_interrupt_configure for
only GPIO pins should
i do the same for uart also, could any one say where does the interrupt
vector initilization happens
any sugessitions would be helpful

Thanks & regards,
Sumanth.
--
View this message in context: http://www.nabble.com/cyg_interrupt_create-does%27nt-create-isr-t1511140.html#a4099185
Sent from the Sourceware - ecos-devel forum at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cyg_interrupt_create does'nt create isr
  2006-04-26 10:55 cyg_interrupt_create does'nt create isr sumanth
@ 2006-04-26 17:09 ` Paul Chavent
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Chavent @ 2006-04-26 17:09 UTC (permalink / raw)
  To: ecos-devel

Hello Sumanth.

I'am not sure it can help you, but ... When i began with interrupts, i 
made tests with the interrupt for timer0 of my platform. But the 
implementation of the platform in Ecos use this interrupt for the RTC. 
So i hadn't the expected behaviour.
So i suggest you to try with an other interrupt.

Hope it can help.

Paul.

sumanth a écrit :
> Hi all,
>                  I am porting ecos for Intel xscale ixp425 evaluation board
> , i am done up to cyg_user start, i have written a small serial program
> which works for the polling mode , so i want to test the same in interrupt
> mode ,so i have written
> 
> cyg_interrupt_create(int1_vector,int1_priority,0,&interrupt_1_isr,&interrupt_1_dsr,
>                               &int1_handle,&int1);
> cyg_interrupt_attach( int1_handle );
> cyg_interrupt_unmask(int1_vector);
> 
> i am using axd debugger to debug, the code runs without any exceptions and
> errors but it does'nt enter into ISR or DSR
> 
> Do i have missed any initilizations regarding interrupts in my port,have any
> one faced problems please help me, i am doing hal_interrupt_configure for
> only GPIO pins should
> i do the same for uart also, could any one say where does the interrupt
> vector initilization happens
> any sugessitions would be helpful
> 
> Thanks & regards,
> Sumanth.
> --
> View this message in context: http://www.nabble.com/cyg_interrupt_create-does%27nt-create-isr-t1511140.html#a4099185
> Sent from the Sourceware - ecos-devel forum at Nabble.com.
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-26 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-26 10:55 cyg_interrupt_create does'nt create isr sumanth
2006-04-26 17:09 ` Paul Chavent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).