Using an AtMega16, I am going to make use of the watchdog Timer. I want to cause a crash to verify that the WDT brings us back to life. Instead of going into an infinite loop "crash" I'd like to cause something more catastrophic. I tried a divide by zero scenario but we don't crash (even without the WDT implemented). It is as if the compiler 'optimized' this (divide by zero) line out. How can I cause a good catastrophic crash (like divide by zero)? Keep in mind that I don't want cause the catastrophic crash by using 300VDC for my source voltage, as this is very difficult to recover from. :) Thanks Guys!
Message
Cause a crash
2013-01-12 by englsprogeny1
Attachments
- No local attachments were found for this message.