A customer of mine is having a problem I can't reproduce: after messing about with the eeprom a watchdog timer is intentionally triggered by a while(1); loop. This is all fine except that the mega8 appears to be running at 16MHz on its internal oscillator when the processor restarts. Communication only works at 4800baud where it should be 2400, leds blink at twice the speed, etc...
After a power down it works fine again.
I am dumbfounded as to the cause of this problem. Clock calibration byte is in eeprom, but hasn't been corrupted.
Has anyone seen something like this before? (and can we exploit it later :-)