cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H573 stuck in Standby mode with 5 sec IWDG timeout

A_Bit_More
Associate II

Hello, 
I flashed my stm32h573 with a program to set it to standby mode, but didn't setup the wakeup pin and it has a 5 sec wdg timeout. 

The error I am having is that it "can't connect to the target" to flash it with different code or to erase the flash 🥲🫠

I "think" it's not able to connect because it doesn't have enough time to connect due to the watchdog. As it does a system reset every 5 seconds.

Any recommendation on how I can get it to connect or erase the flash?

is there any way to save this board?!?

I have tried: all gave me the same error of can't connect to target

1. stm32cubeide debug

2. Keil erase flash

3. j-flash lite to erase chip

 

I am going to try the stm32cubeprogrammer later today, after I download it. 
**** edit ****
This is the error message I receive from stm32cubeprogrammer when I try to connect the dev board

A_Bit_More_0-1741632169540.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
A_Bit_More
Associate II

It's always after posting that I find a solution LOL
But for anyone who runs into this issue, here's my solution:

A_Bit_More_1-1741633338770.png

You need to use the stm32cubprogrammer.
Setup the ST-LINK configuration:

1. change Mode to Under reset

2. change Reset Mode to Hardware reset

3. click on Connect

From there you just have to click Full Chip erase and that will erase your flash :D

View solution in original post

1 REPLY 1
A_Bit_More
Associate II

It's always after posting that I find a solution LOL
But for anyone who runs into this issue, here's my solution:

A_Bit_More_1-1741633338770.png

You need to use the stm32cubprogrammer.
Setup the ST-LINK configuration:

1. change Mode to Under reset

2. change Reset Mode to Hardware reset

3. click on Connect

From there you just have to click Full Chip erase and that will erase your flash :D