2021-11-10 08:42 PM
I have a customized bootloader and a main application.
Both of them init the wathcdog, and refresh it. But when my bootloader jump to application, the refresh of watchdog from application sometime does not work. The watchdog still timeout.
But if run the application using Jtag directly, it is OK.
I think it must be the watchdog init twice causes some problem.
May I know what is the solution for that, and I really need a watchdog to reset system when system in trouble, it needs both bootloader and main app.
2021-11-11 05:53 AM
> refresh of watchdog from application sometime does not work.
How are you verifying this? You could toggle a pin on refresh and verify on a scope that you're doing it within the allotted amount of time.
Most likely the IWDG is behaving correctly according to the RM.