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

Harald Kipp harald.kipp at egnite.de
Sat Mar 13 12:40:16 CET 2004


These are bad news, indeed. As this "slight" update
was tested with Ethernut hardware only, this
bug has been undiscovered, sorry.

We will set up an automatic tarball generation soon.
Hopefully this will attract more people with non-Ethernut
hardware, who feel uncomfortable with CVS.

Harald

At 20:36 12.03.2004 +0100, you wrote:
>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