STM32F030C8 Embedded system memory bootloader
Dears,
I need help with this function; I can't enter system memory bootloader using the jump function
{
void(*systemMemoryJump)(void);/* pointer to function */
volatile uint32_t add = 0x1FFFEC00 ;
HAL_RCC_DeInit();
/* disable systick timer */
SysTick->CTRL = 0 ;
SysTick->LOAD = 0 ;
SysTick->VAL = 0 ;
__disable_irq(); /* Disable interrupts */
__HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH();
systemMemoryJump = (void(*)(void))(*((uint32_t*)(add+4)));
USART_SendData8_USART1(0x55);
__set_MSP(*(uint32_t*)add); /* Set stack pointer */
systemMemoryJump();
}
The controller stuck after send the get command.