my atmel microcontroller is continuously reseting