AnsweredAssumed Answered

Can't jump to STM bootloader on STM32L051

Question asked by savelev.anton on Mar 20, 2015
Latest reply on Mar 20, 2015 by Clive One
I have tried to jump to STM bootloader, but unfortunately STM reset after that. Where can be error?

SysMemBootJump = (void (*)(void)) (*((unsigned int*) 0x1FF00000 + 4));
__disable_irq();
HAL_RCC_DeInit();
SysTick->CTRL = 0;
SysTick->LOAD = 0;
SysTick->VAL = 0;
__set_MSP
(*(__IO uint32_t*) 0x1FF00000);
SysMemBootJump();

This code works fine on STM32L151 and STM32F401(with appropriate addresses).


Outcomes