AW: [En-Nut-Discussion] 3.4.2release os/timer.c (1.3.2.2) bug

Oliver Schulz olischulz at web.de
Sun Mar 14 19:04:10 CET 2004


Hi,

obviously it is "just" a mistyped bit name.

I'm very sorry that this bug was published with Nut/OS release 3.4.2.
Some seconds ago, a commited a corrected version of os/timer.c into CVS.

I think, the automatic tarball generation is a very good idea, a helps a lot
of people, who don't want to setup a complete CVS environment...

So long,
Oliver.

> -----Ursprüngliche Nachricht-----
> Von: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Adam Baran
> Gesendet: Freitag, 12. März 2004 20:36
> An: en-nut-discussion at egnite.de
> Betreff: [En-Nut-Discussion] 3.4.2release os/timer.c (1.3.2.2) bug
>
>
> Hi,
>
> It seems that last bugfix to os/timer.c (1.3.2.2) introduced
> another bug:
>
> outp(BV(CS00) | BV(CS20) | BV(WGM01), TCCR0);
>
> makes timer0 output compare ISR called 128 times too fast
> (wrong prescaler setting).
>
> Should be:
>
> outp(BV(CS00) | BV(CS02) | BV(WGM01), TCCR0);
>
> The bad news is that 3.4.2 release was published with sources
> containing os/timer.c (1.3.2.2), which completely freezes
> applications using NutOS recompiled with NUT_CPU_FREQ defined.
>
> Adam Baran
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list