Solved
tick problem after jump to custom Bootloader
Hi,
I have a problem after jump from application to my custom Bootloader.
This the micro code: STM32G071KBU3.
I correctly jump from application to Bootloader, but after the jump I don't get anymore interrupt from tick.
I add an information: if I run directly the Bootloader from debug I correctly get interrupt from tick.
Here the code I use for the jump.
static void JumpToBootloader(void)
{
uint32_t jumpAddr;
void (*jumpFunc)(void);
/* si imposta il puntatore a funzione utilizzato per il jump */
jumpAddr = *(__IO uint32_t*) (BOOTL_START_ADDR + 4);
jumpFunc = (void (*)(void)) jumpAddr;
/* Initialize user application's Stack Pointer */
__set_MSP((*(__IO uint32_t*) BOOTL_START_ADDR ));
// si salta al Bootloader
jumpFunc();
}