Brian,
You were right. I had avr's word-addressing confused with gcc's
byte-addressing. I upgraded the AVR Studio to the latest version (same
as yours: 4.13 build 528) and 100% correctly simulated emulated my
flash programming routine.
The problem is that the actual execution doesn't yield the
As Patrick Mahoney wrote:
It might not be an actual reset because all bits in the MCUSR register
are cleared. So it could be a jmp to address 0, but it doesn't make more
sense... Again, the sims run perfectly...
Smells like either a problem with the stack initialization, or you've
enabled an