Question
Does System-bootloader eventually timeout? (and jump to user program)
If Systembootloader Doesnt detect anything comming from any peripheral, does it timeout and jump to 0x8000000?
Because by reading AN3154 , it looks like it does, but when im trying with my stm32f405RE it doesn

this is my code:
int main(void)
{
/* USER CODE BEGIN 1 */
#define BOOTLOADER_ADDRESS 0x1FFF77DE
typedef void (*pFunction)(void);
pFunction JumpToApplication;
uint32_t JumpAddress;
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
/* USER CODE BEGIN 2 */
HAL_Delay(1000);
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
HAL_Delay(250/2);
HAL_GPIO_TogglePin(LEDRED_GPIO_Port, LEDRED_Pin);
if(HAL_GetTick()>10000){
/* Jump to system memory bootloader */
JumpAddress = *(__IO uint32_t*) (BOOTLOADER_ADDRESS + 4);
JumpToApplication = (pFunction) JumpAddress;
JumpToApplication();
}
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
What im expecting:
- blink blink blink....
- jump to systembootloader
- systembootloader timesout and creates System reset
- blink blink blink...... again
But im only reaching point 3, and stays there.
