[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] Bug in Timer0
From: |
Lars Noschinski |
Subject: |
[Simulavr-devel] Bug in Timer0 |
Date: |
Tue, 15 Nov 2005 01:29:09 +0100 |
User-agent: |
mutt-ng devel (Linux) |
Hello!
I think the timer0 implementation in simulavrxx 0.8.006 has a bug; it
sets the TOV0 flag, when TCNT0 reaches 1. According to AVRstudio4, this
must happen, if TCNT0 reaches 0. (Obvious if you use a prescaler, I
encountered this after setting TCNT0=0 and getting an interrupt just a
few cycles later).
The fix is probably easy, but now it's time to sleep ;)
- [Simulavr-devel] Bug in Timer0,
Lars Noschinski <=