2023-10-17 02:36 AM
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¬ 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);
}
Solved! Go to Solution.
2023-10-18 01:03 AM
I change boot0 from 0 to 1. And download correct code. Then change boot0 from 0 to 1, the problem is solved
2023-10-17 03:24 AM
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.
2023-10-17 06:43 PM
Hi Sarrs,
It seems not work. I press RST pin and connect with STM32CubeProgrammer through ST-LINK
2023-10-18 01:03 AM
I change boot0 from 0 to 1. And download correct code. Then change boot0 from 0 to 1, the problem is solved