--- In AVR-Chat@yahoogroups.com, David VanHorn <microbrix@...> wrote: > Do a build and run, or reset, and notice that the WDE > bit is on at reset. It is worth noting that on many (perhaps all) newer devices, the WDE bit is not affected by reset, no matter the source. Once you turn it on it stays on until you execute the procedure to turn it off. I know that the mega644, mega644P, mega1284P, mega1280, mega1281 and mega328P are like this but the mega32 is not. You can determine if your device is among those that act this way by checking the datasheet description of the register containing the watchdog enable bit. Where it gives the "initial value" you'll see either "0" or "X" where the latter means that the bit is not cleared in response to a reset. Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Message
Re: Jtag Ice MKII
2009-04-08 by Don Kinzer
Attachments
- No local attachments were found for this message.