AnsweredAssumed Answered

Bootloader to lauch 2 different programs

Question asked by lopez.pedro.001 on Jan 2, 2013
Latest reply on Jan 2, 2013 by Clive One
hi there.

I have 2 programs that share the same hardware and a customer wants both.

The best option that I found is the posibilty to store both binaries in memory and launch them based in a pin value at startup. For this I will need bootloader/launcher.

I have some questions.
1) Is it possible (i suppose that it is but i want a confirmation). ?
2) Do you know something like this already?
3) Do the 2 binaries need to know something about the launcher/bootloader or the current binary is ok? Since i'm using IAR, does IAR need to know this on compilation (to assign relative addresses or something like that).
4) What steps are needed to launch the new binary? (I suppose that it is now enough changing the program counter to the new program address).

Any other note or comment is welcome.

Thanks in advance.

Outcomes