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

helipad heli.pad at ntlworld.com
Fri Mar 12 22:06:08 CET 2004


Thanks Adam ,
this solved one problem i had
Dave

----- Original Message ----- 
From: "Adam Baran" <badam at zulu.gdynia.pl>
To: <en-nut-discussion at egnite.de>
Sent: Friday, March 12, 2004 7:36 PM
Subject: [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