I am writing a bootloader for Mega328.
I have read many threads and all suggesting to disable WDT and clear MCUSR register immediately. Can someone explain why?
I thought WDT will be disabled by default ? since I start my boot loader only from reset so everything should be defaulted.