OK, I have an ATmega324PA, and when I program this chip with and ICE3 the CTC on Timer1 works, and flashes the LED. If I power off, and restart the micro, the CTC does not work. If I blow the code again, and leave the programmer connected the CTC works.
What happens after the code is blow, does it clear the interrupts, or is it holding the micro in reset. I cant understand how the code works after being blow, but not on restart?
Look forward to your reply.