Hi Fiona,
Aside from the bootloader, I want to store 2 different applications in a region of the flash.
In total there will be 3 firmware stored in flash. One bootloader and 2 applications.
One of the application will be a backup and the other as the active application.
So basically if the application does not running then I will switch to the backup application as the active.
During firmware update, the user will not know which application is being replaced in the device
During firmware update the backup application is usually replaced BUT
if the active application is corrupted, then it will be replaced.
Is there a way to make the 2 applications to execute with relative addressing (relocatable)
I want to be able to run the program with relative addressing and NOT absolute addressing.
The user do not need to manage the different memory location when linking the new application.
It just want to download the firmware and execute it. That is why relative addressing is important to us.
Just want to be able to download the firmware at any location and execute it.. If the active application is good, it will execute first, otherwise, the backup version will replace.
Thanks
Dale