Skip to main content
kRaje.1
Associate III
March 12, 2025
Solved

board resets continuously

  • March 12, 2025
  • 5 replies
  • 838 views

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.

This topic has been closed for replies.
Best answer by mƎALLEm

@Andrew Neil wrote:

Are you sure that the reset is due to the watchdog?


For that he needs to check the RCC_CSR register:

mALLEm_0-1741778527710.png

5 replies

mƎALLEm
ST Technical Moderator
March 12, 2025

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?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
March 12, 2025

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!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
March 12, 2025

@Andrew Neil wrote:

Are you sure that the reset is due to the watchdog?


For that he needs to check the RCC_CSR register:

mALLEm_0-1741778527710.png

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
TDK
March 12, 2025

> 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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
March 12, 2025

@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 ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.