Hi @all,
i’m trying to realise the following application structure in an AT91SAM7S controller using the gcc toolchain:
-
a kind of bootloader in flash starting at offset 0x0.
-
a first application in flash starting at offset 0x10000
-
a second application in flash starting at offset 0x24000
The idea behind this is to start with the “bootloader” and choose the most recent of the two applications and start it. This gives me the opportunity to do an update of the other application during runtime and still keep one fully functional application even if the update fails (could happen due to an unreliable data transfer; in this case based on a GPRS connection).
Has anybody done something similar and can provide an example esspecially for the linker command file?
Best regards,
Ralf