RTEMS - LEON - Doubt

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Mon Oct 24 16:51:42 UTC 2005


sashti srinivasan wrote:
> Hello,
> 
>    I use rtems over leon-tsim.  I use the
> rtems_interrupt_catch directive as follows.
> 
> rtems_isr MyISR(rtems_vector_number)
> {
>    printf ("\n ISR called");
> }
> ............
> ............


I don't know if your ISR is called or not.  But I do know that if it is 
invoked and that printf is called, the system is supposed to get a fatal 
error because you are not supposed to print from an ISR.


> rtems_isr_entry *abc;
> rtems_interrupt_catch(MyISR,0x18,abc);
> 
> Prescalar, timer1-reload, timer1-control registers are
> set appropriately and timer1-counter register contents
> are changing.  But MyISR is not called.  Help Please


Did you look at how the clock tick driver works?

> With Humble Regards
> S Srinivasan
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list