Page 1 of 1

Problem with timer operation in ATTINY84

Posted: Sat Jan 09, 2021 8:34 am
by boskz
Hello team,
Problem with timer operation in ATTINY84. After adding a timer interrupt to the program, the microcontroller starts constantly rebooting (compilation proceeds without errors).

Modeling in Flowcode v9 (the same in other versions) is going well. The problem begins to manifest itself after downloading the program to the microcontroller.

I think the problem is in the ATTINY84.fcdx file, but I don't know how to solve it.

An example of a small program:

Re: Problem with timer operation in ATTINY84

Posted: Sun Jan 10, 2021 8:31 am
by boskz
Hello team,

I think I found a solution to the problem,
ATTINY84.fcdx file

Need to replace the name

TIMER0_OVF_vect
TIMER1_OVF_vect

On

TIM0_OVF_vect
TIM1_OVF_vect

Re: Problem with timer operation in ATTINY84

Posted: Tue Jan 12, 2021 3:34 pm
by BenR
Excellent well done and thanks for letting us know. I'll get that sorted at this end for you.