AnsweredAssumed Answered

Bootloader Problem with STM32F4

Question asked by QUANG Nguyen on Jan 31, 2017
Latest reply on Feb 2, 2017 by Keaven

Hello guys,


I have problem with bootloader on STM32F427xx.  

Bootloader: 0x08000000 ---128Kb

APP:          0x08020000 ----512Kb


In Linker Script for App, the ResetHandler located at 

.start 0x08020200 :
. = ALIGN(4);
KEEP(*(.start)) /* Startup code */
. = ALIGN(4);


but when I tried to executed these:


#define APPLICATION_ADDRESS (0x08020000UL)


pFunction Jump_To_Application;
uint32_t JumpAddress;


SCB->VTOR = FLASH_BASE | 0x20000;

/* Initialize user application's Stack Pointer */
__set_MSP(*(__IO uint32_t*) APPLICATION_ADDRESS);

/* Jump to user application */
JumpAddress = *(__IO uint32_t*) (APPLICATION_ADDRESS + 4 + 0x200);
Jump_To_Application = (pFunction) JumpAddress;



I couldn't jump into App section. 


Can you help me pls, thanks!


PS: I use Jlink Debugger.