We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using STM32F427 microcontroller,I have couple of binaries(lets consider bootloader and Application) converted to hex and combined in intel format. I am flashing intel format hex image to flash. I wanted to jump from bootloader to Application. My start address of bootloader and Application are 0x08000000 and 0x081C0000 respectively. Now I wanted to know procedure to jump. I tried modifying the start_xxx.s
LDR R0, =SystemInit BLX R0 LDR R0, =__main BX R0 ENDP
replaced main with 0x081C0000, but failed. Secondly tried updating the VECT_TAB_OFFSET in system.c to 0x001C0000
SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; but this too failed.
Like to know anyother methods to jump it in flash itself and any examples to copy flash to RAM