Skip to main content
Associate
October 17, 2023
Solved

STM32H745xi enter standby mode after power on 3 seconds

  • October 17, 2023
  • 3 replies
  • 1814 views

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);
}

This topic has been closed for replies.
Best answer by Jerry3

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

3 replies

ST Employee
October 17, 2023

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.
Jerry3Author
Associate
October 18, 2023

Hi Sarrs,

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

Jerry3AuthorBest answer
Associate
October 18, 2023

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