i have problems with the Timer Interrupt when I start the code from flash.
In debug mode or when I put the code without debugging into ram it works fine.
When I flash the device the timing isn't correct anymore. The Timer Interrupt triggers too early. That is no problem. I can handle it. But the timer interval is not constant. It looks like it is varying about more the 5 cycles. In RAM-Mode it is much better.
I dont use other Interrupts. I have build the code with processor expert. Watchdog is off.