AnsweredAssumed Answered

Not able to write data from uart after jumping from custom bootloader

Question asked by sudhan j on Apr 7, 2017


I'm working with STM32F030k6 and I wrote simple custom boot loader which will jumps to application. 

Below is custom boot loader code.


    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);


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.