Skip to main content
Visitor II
October 17, 2023
Solved

STM32H745xi enter standby mode after power on 3 seconds

  • October 17, 2023
  • 2 replies
  • 1794 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

    2 replies

    ST Employee
    October 17, 2023

    Welcome @Jerry3  to ST Community, 

    Try connecting "under reset" with STM32CubeProgrammer 

    Jerry3Author
    Visitor II
    October 18, 2023

    Hi Sarrs,

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

    Jerry3AuthorAnswer
    Visitor II
    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