??? 03/17/05 01:19 Modified: 03/17/05 01:33 Read: times |
#89835 - What stops? Responding to: ???'s previous message |
You mention, that when locking up, the timer stops. Are you sure? Isn't it that timer runs but interupt is disabled, either in IE register, or by not returning from an ISR properly using RETI? Are you able to produce a lockup in a shorter time? With "once-in-a-week-or-so" problems I try to do this first, speeding up timers and making the mcu "busy" at the inputs. Then I try to strip down the code to a minimum version which still exhibits the problem. You also mentioned that the ISRs modify the interrupt flags. How? Jan Waclawek |