AnsweredAssumed Answered

[F407vtg] jump to bootloader

Question asked by c.markus on Jan 14, 2014
Latest reply on Jan 15, 2014 by sung.chen_chung
STM32F407VTG
CooCox IDE

Hello,

how can i jump to inbuild bootloader?

This code is not working:
void BootLoader(void) {
    void (*SysMemBootJump)(void) = (void (*)(void)) (*((uint32_t *) 0x1FFF0004));
    __set_PRIMASK(1);
    RCC_DeInit();
    SysTick->CTRL = 0;
    SysTick->LOAD = 0;
    SysTick->VAL = 0;
    RCC_SYSCLKConfig(RCC_SYSCLKSource_HSI);
    __set_MSP(0x20002000);
    SysMemBootJump();
}


Thanks,
Markus

Outcomes