Using AVR register

Can you post your code?
Which board are you compiling for?