cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H745xi enter standby mode after power on 3 seconds

Jerry3
Associate II

I use STM32H745xi discovery board. When i do some test, i download code that Cortex-m7 will enter standby mode after power on 3 seconds. And i set wrong wakeup pin(wakeup pin 1&not config PA0, it should be wakeu4). After power off and power on, i find that it can't recognize the mcu through ST-LINK though i try RST pin. I dont understand why RST pin not work.

Pls help to save the board,thx.

 

 

code:

 MX_GPIO_Init();
HAL_Delay(3000);
HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1);
while (1)
{
HAL_PWR_EnterSTANDBYMode();
HAL_GPIO_TogglePin(GPIOJ,4);
HAL_Delay(500);
}

1 ACCEPTED SOLUTION

Accepted Solutions
Jerry3
Associate II

I change boot0 from 0 to 1. And download correct code. Then change boot0 from 0 to 1, the problem is solved

View solution in original post

3 REPLIES 3
Sarra.S
ST Employee

Welcome @Jerry3  to ST Community, 

Try connecting "under reset" with STM32CubeProgrammer 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi Sarrs,

    It seems not work. I press RST pin and connect with STM32CubeProgrammer  through ST-LINK

Jerry3
Associate II

I change boot0 from 0 to 1. And download correct code. Then change boot0 from 0 to 1, the problem is solved