what is your atmel mcu's specification?
write down and wanna help you.