$ 0 0 How exactly are you trying to trigger the POR or RST? What happens then? What does your main loop do after it has been woken up?