I have a strange problem: I can not change any value of my variables! When i define a variable, it would be initialized to a value, and i can not change that. This value is dependent to the type of variable. For example, in the following code:
DDRA = 0xFF;
the value of variable 'a' is always 213(as watch window says).
I'm using JTAGICE, and mega64L. I should note that when i choose Simulator as platform, there is no problem. But when i start with JTAGICE, and i debug it, the problem appears.
I'm looking for your help.