Quote:
Originally Posted by dave koller
Adam:
On the Atmega1284P does the watchdog stop the processor or does an event of lost oscillation stop it? I asked as DJBecker triggered a memory of a problem I had with a physical layout of the driving Xtal - I had to ground strap the metal can of it to stop an internal shutdown glitch due to stray spikes - I know - I know a stab in the dark ....
|
Well It looks like the processor is still doing something because I still get a 16.0001Mhz clock on the CKOUT pin of the chip. If I enable the watchdog to always be on, the LED blinks rapidly and I get a clock out of about 2Mhz. This makes me think that when the watchdog is always on, the chip just cycles and cycles.
The way it is right now, the status LED is solid on.
Im going digging through the code again and going to try and set up some serial prints at points of start up hopefully to find where its failing.
On a side note, I commented out all the code in the enable and disable watchdog functions with no difference in operation..... This lead me to wanting to add the serial prints.
-Adam