IWDG reset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-08 03:52 PM
Hi,
I use STM32L496RGT6 with own bootloader.
If I start IWDG in bootloader and periodically reset it it is work good. If I jump to application and call HAL_IWDG_Refresh(..), function doesn't refresh IWDG and IWDG reset mcu.
I tried call MX_IWDG_Init() after HAL_IWDG_Refresh.. or only HAL_IWDG_Refresh but doesn't have effect.
Please help how to resolve this problem. I would like start IWDG in bootloader end periodically refresh it, after jumping into application fw continue refreshing IWDG counter if it is possible.
Thank you,
best regards
Solved! Go to Solution.
- Labels:
-
IWDG-WWDG
-
STM32L4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-08 05:06 PM
> If I jump to application and call HAL_IWDG_Refresh(..), function doesn't refresh IWDG and IWDG reset mcu.
Are you sure it does not time out before you succeed to call it for the first time in the application?
Toggling a pin around the refresh call, and observing it using oscilloscope/logic analyzer would reveal if this is the case.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-08 05:06 PM
> If I jump to application and call HAL_IWDG_Refresh(..), function doesn't refresh IWDG and IWDG reset mcu.
Are you sure it does not time out before you succeed to call it for the first time in the application?
Toggling a pin around the refresh call, and observing it using oscilloscope/logic analyzer would reveal if this is the case.
JW