Problem with STM32F205 BOOTLOADER
Hello,
i have one problem with bootloader application. I used STM32F205 microcontroller
My Bootloader SW starts to 0x0800000 address and my application starts to 0x08010000 address.
Application is correctly written but it's not possible to jump on the 0x0801000
I used a STM32 example :
if ((((*(__IO uint32_t*)APPLICATION_ADDRESS) & 0xFF000000 ) == 0x20000000) || \
(((*(__IO uint32_t*)APPLICATION_ADDRESS) & 0xFF000000 ) == 0x10000000))
{
/* Jump to user application */
JumpAddress = *(__IO uint32_t*) (APPLICATION_ADDRESS + 4);
Jump_To_Application = (pFunction) JumpAddress;
/* Initialize user application's Stack Pointer */
__set_MSP(*(__IO uint32_t*) APPLICATION_ADDRESS);
Jump_To_Application();
}
In debug mode, "Jump_To_Application" function is passed but any jumping is done.
I tried to set the Vector Table Offset Register, but without progress :
SCB->VTOR = APPLICATION_ADDRESS
Did i forget something ?