2025-03-12 3:20 AM - last edited on 2025-03-12 4:19 AM by mƎALLEm
Hi, I am using the STM32F429ZI board. I enabled the hardware-independent watchdog timer using STM32CubeProgrammer option bytes. However, there are no errors or faults in my project—I have only enabled the GPIO and UART peripherals. But after enabling the hardware watchdog and performing a power-on reset, my board keeps resetting continuously.
On the other hand, when I enabled the software-independent watchdog timer using firmware, the board did not reset. Why is this issue occurring only with the hardware watchdog timer?
I also tried refreshing the IWDG after enabling the hardware-independent watchdog timer, but it still keeps resetting my board.
2025-03-12 4:09 AM
Hello,
@kRaje.1 wrote:
Hi, I am using the STM32F429ZI board.
Sorry. STM32F429ZI is not a board but a MCU. Do you mean NUCLEO-F429ZI or 32F429IDISCOVERY?
2025-03-12 4:13 AM - edited 2025-03-12 4:15 AM
Are you sure that the reset is due to the watchdog?
Are you sure that your code is correctly "kicking" the watchdog?
@kRaje.1 wrote:there are no errors or faults in my project
If you could be that certain, you wouldn't need a watchdog!
2025-03-12 4:22 AM - edited 2025-03-12 4:23 AM
@Andrew Neil wrote:
Are you sure that the reset is due to the watchdog?
For that he needs to check the RCC_CSR register:
2025-03-12 5:52 AM
> Why is this issue occurring only with the hardware watchdog timer?
There's a bug in the code where the watchdog isn't refreshed in time which causes the reset.
2025-03-12 5:58 AM
@TDK wrote:> Why is this issue occurring only with the hardware watchdog timer?
There's a bug in the code where the watchdog isn't refreshed in time which causes the reset.
Or a design fault ...