cancel
Showing results for 
Search instead for 
Did you mean: 

running multiple application in same flash memory.

Rkuma.1964
Associate II

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.

2 REPLIES 2
KnarfB
Principal III

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.

Ozone
Lead

> 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.