Hello everyone, I used a bootloader for Stm32f1xx, but if I use hal_delay after the jump function, the microcontroller stops working. I'm waiting for your help.
if (HAL_GPIO_ReadPin(button_GPIO_Port,button_Pin)==1) //mypushbutton==1 { /* If Key is pressed */ /* Execute the IAP driver in order to re-program the Flash */ printf("\r\n\r\n"); Main_Menu(); }// /* Keep the user application running */ else { ...