2017-04-07 2:22 AM
Hi,
I'm working with STM32F030k6 and I wrote simple custom boot loader which will jumps to application.
Below is custom boot loader code.
__disable_irq();
SCB->VTOR = go_address; //0x08000C00 // NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x0C00); if (((*(__IO uint32_t*)go_address) & 0x2FFE0000 ) == 0x20000000) { /* Jump to user application */ JumpAddress = *(__IO uint32_t*) (go_address+ 4); JumpToApplication = (pFunction) JumpAddress; /* Initialize user application's Stack Pointer */ __set_MSP(*(__IO uint32_t*) go_address); JumpToApplication(); }Jumping to application is success but when I'm trying to send data over uart board is getting restart. Please help me if some one would have face this issue.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.