Independant Watchdog Timer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-11-30 2:13 AM
Posted on November 30, 2010 at 11:13
Independant Watchdog Timer
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 5:16 AM
Posted on May 17, 2011 at 14:16
Hi,
I remember that there is an example provided within ST library. Check it first then call back :) Herzlich, MCU LüfterOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 5:16 AM
Posted on May 17, 2011 at 14:16
Kick it in areas which will not be executed if the system locks up or dead locks.
Do not put the kicker in an interrupt that gets called even when the rest of the system is dead. If you do it under interrupt, qualify the kicking by looking at and clearing other signs-of-life indications you have from multiple sub-systems. When the system restarts you can query the reset status, and I'm sure it's covered in the TRM and example code. /* Check if the system has resumed from IWDG reset */ if (RCC_GetFlagStatus(RCC_FLAG_IWDGRST) != RESET) {/* IWDGRST flag set */ }
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
