Page 1 of 1
ATTINY44 the interrupt doesn't work TMR1
Posted: Fri Mar 11, 2022 10:28 am
by Osta
TMR1 interrupt does not work in the hardware
Re: ATTINY44 the interrupt doesn't work TMR1
Posted: Fri Mar 11, 2022 12:08 pm
by BenR
Hello,
I've had a look through the datasheet and compared with the generated code and I think I might have found something. The interrupt vector was declared as TIMER1_OVF but it looks like this might not be correct on this device, annoying it doesn't generate a compilation error to make it more obvious. I've changed it to TIM1_OVF and hopefully that will solve the problem for you.
The latest fixes are now available via the update system. Let us know how you get on.
Re: ATTINY44 the interrupt doesn't work TMR1
Posted: Fri Mar 11, 2022 11:30 pm
by Osta
Hi,
downloaded the update but it's not working. Now it doesn't work in the emulator either.
Re: ATTINY44 the interrupt doesn't work TMR1
Posted: Sat Mar 12, 2022 6:06 am
by Osta
Checked in the iron all works, but in the emulator stopped working.
Regards Osta.
Re: ATTINY44 the interrupt doesn't work TMR1
Posted: Mon Mar 14, 2022 12:10 pm
by BenR
Great glad the hardware is working as expected. What emulator are you using?
Re: ATTINY44 the interrupt doesn't work TMR1
Posted: Tue Apr 05, 2022 8:48 pm
by Osta
BenR wrote: ↑Mon Mar 14, 2022 12:10 pm
Great glad the hardware is working as expected. What emulator are you using?
Hi!
Sorry I didn't reply right away, I was on vacation.
I use PROTEUS.
Respectfully Osta.