Bootloader+application configuration problems
Hello!
I’m trying to configure my own bootloader + application.
I have read related posts about it like http://www.openstm32.org/forumthread2364
I wrote two program and debugged it as well. After that I tryed to implement all recommendations from topics.
As I do this steps:
configure jumping to main program from bootloader:
set_MSP(*(IO uint32_t*) 0x08020000);
uint32_t JumpAddress = *(uint32_t*)(0x08020000 + 4);
((void (*)())JumpAddress)();
configure offset in main application:
in STM32F746NGHx_FLASH.ld
FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 896K
configure interrupts vector offset:
#define VECT_TAB_OFFSET 0x20000
After joining of two files and programing MC it just plays bootloader application then jumps to main application and nothing happens. Main application doesn’t start.
Please, help me to find a solution. I need extra information what I do wrong.