Hello, first time here so apologies if I make posting mistakes.
I'm currently trying to program an Atmega1280 with an AVR Dragon (EDIT: using Atmel Studio 7).
When I'm debugging and stepping through the code some registers wouldn't get set even after stepping over code that should change them.
So far I've found that this happens with SPCR and TIMSK0.
This happens in both when using a simulator and when debugging with the dragon. Can anyone tell me why this happens and how to fix it?
attached is a picture of the situation.