MCU Reset Using Watchdog Timer on ATMEGA328P-Infinite loop issue

This might be interesting: