Solved
NVIC_SystemReset not working
I'm using the X-CUBE-SBSFU bootloader on a ST STM32G474VE.
Sometimes NVIC_SystemReset is not resetting the controller, only a power reset helps. Any ideas? The string "Image correctly downloaded" i can see everytime!
/* System Reboot*/
printf(" -- Image correctly downloaded - reboot\r\n\n");
HAL_Delay(1000U);
NVIC_SystemReset();