problems with printfs inside rtems_timer_server_fire_after() callback

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Oct 7 10:08:28 UTC 2010


On 10/07/2010 11:49 AM, Aitor Viana wrote:
> The version am using is RTEMS 4.8
> 
> Is that version fixed?

No.  The changes were only committed to the CVS head.

> 
> --
> Aitor
> 
> 
> On Thu, Oct 7, 2010 at 11:33 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
> 
>     Hi,
> 
>     which version of RTEMS do you use?  The timer server was quite
>     broken before
>     2009-11-30.  See also
> 
>     http://www.rtems.org/pipermail/rtems-users/2009-November/006248.html
> 
>     Have a nice day!
> 
>     On 10/07/2010 11:24 AM, Aitor Viana wrote:
>     > Hi all,
>     >
>     > I am getting _Internal_error_Occurred from rtems_semaphore_obtain
>     function.
>     >
>     > I back-traced the error and it appears when the callback register
>     > with  rtems_timer_server_fire_after() calls printf() function.
>     Removing
>     > the printf's solve the problem.
>     >
>     > Reading at the RTEMS manual I understand that by using timer servers
>     > should be possible to perform operations that you would in a normal
>     > RTEMS task. Is that so?
>     >
>     > Thanks,
>     >
>     > aitor
>     >
>     >
>     >
>     > _______________________________________________
>     > rtems-users mailing list
>     > rtems-users at rtems.org <mailto:rtems-users at rtems.org>
>     > http://www.rtems.org/mailman/listinfo/rtems-users
> 
> 
>     --
>     Sebastian Huber, embedded brains GmbH
> 
>     Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
>     Phone   : +49 89 18 90 80 79-6
>     Fax     : +49 89 18 90 80 79-9
>     E-Mail  : sebastian.huber at embedded-brains.de
>     <mailto:sebastian.huber at embedded-brains.de>
>     PGP     : Public key available on request.
> 
>     Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>     _______________________________________________
>     rtems-users mailing list
>     rtems-users at rtems.org <mailto:rtems-users at rtems.org>
>     http://www.rtems.org/mailman/listinfo/rtems-users
> 
> 


-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list