Hello,I am using attiny84A microcontroller.I have some topics read about software reset.Jumping to 0x00 is not recommended.The use of watchdog is recommended.I'm so confused.
I have a counter that increments every millisecond.I am using ISR(TIM1_COMPA_vect).When this counter reaches 1728000000 (every 20 days) I want the microcontroller to be reset. How should the correct reset configuration be done professionally for such a structure?
How should the reset code be?
Where should I write the reset code? Is it okay if I write it in ISR?with if loop example: if(counter>1728000000) reset