Problems with rtems_timer_create

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jun 13 18:18:18 UTC 2001



Camilo Alejandro Arboleda wrote:
> 
> El mié, 13 jun 2001 12:46:58 Joel Sherrill escribió:
> > Does the ticker.exe sample run on your hardware?
> 
> Yes, it does. And I have APPLICATION_NEED_CLOCK_DRIVER and
> APPLICATION_NEED_TIMER_DRIVER defined.

You do not need the timer driver just the clock driver.
Do you have CONFIGURE_MAXIMUM_RTEMS_TIMERS set to > 0?
Is the optional stub of the timer manager configured?
It could be returning RTEMS_STATUS_NOTCONFIGURED.

--joel


> >
> > Camilo Alejandro Arboleda wrote:
> > >
> > > Hello:
> > >
> > > I am using RTEMS 4.5.0 with pc386 BSP. I have a problem (may be a bug?):
> If I
> > > try to create a timer (using rtems_timer_create) I get a system hang-up.
> At
> > > the very begining I though it was because a mistake in configuration
> options,
> > > so I cheched them and they were OK.
> > >
> > > Then I tried compiling my application for the Posix BSP. After that I
> tried
> > > to follow the program execution using GDB, but it was not able to insert a
> > > breakpoint inside rtems_timer_create function or even step into it, at the
> > > calling point the application failed. So, I put a lot of debuging messages
> > > inside rtems_timer_create (using printk), recompiled the system and tried
> to
> > > run my application again (with pc386 BSP), but I did not see a single
> > > message, only a system hang-up.
> > >
> > > Have someone had the same problem? Could it be a gcc problem? or, did I
> miss
> > > some configuration option while compiling RTEMS?
> > >
> > > I thank you any help.
> > >
> 
> Camilo Alejandro Arboleda
> Ingeniero de Proyectos
> Ascom Colombia S.A.
> http://www.ascom.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