Bootloader and application code imlepentation
Thank You Your advice the mistake was really in the address.
With the below code section the bootloader get the correct address and works fine.
typedef void (*pFunction)(void);
pFunction Jump_To_Application;
uint32_t JumpAddress;
JumpAddress = *(__IO uint32_t*) (START_ADDR + 4);
Jump_To_Application = (pFunction) JumpAddress;
set_MSP(*(IO uint32_t*) START_ADDR);
Jump_To_Application();
Kind regards,
Szabolcs