Sometimes Atmega does not wake up