2020-01-14 01:54 AM
i have have loaded two different firmware at different locations of the flash memory(stm32F303) .
main program starting address: 0x80000000
second program starting address: 0x80020000
i have to call second program. main program is running perfectly but i am unable to call second program from main program.
please provide solution.
2020-01-14 03:52 AM
Search the forum for "custom bootloader", its the same approach.
Memory partitioning must be done in the linker script (.ld file for gcc). Handling the interupt vector table(s) correctly and preparing the CPU for a jump from one app to the other are main areas of concern.
2020-01-14 04:39 AM
> please provide solution.
Contact the ST support, and negotiate an appropriate pay.
> i have to call second program. main program is running perfectly but i am unable to call second program from main program.
Then you don't need "two applications". Merge them into one.
Otherwise, as noted, use custom bootloader to select one of the two applications, or derform a firmware update.