AnsweredAssumed Answered

STM32F4 Multi-firmware custom BootLoader

Question asked by fifre.pascal on Jun 3, 2014
Latest reply on Jun 3, 2014 by fifre.pascal
Hi all,

I've already developped a custom bootloader on SMT32F407 by using USB device port.
It works fine.
Now, I want to add a new feature to embedded two firmwares in the flash.
This feature can provide some facilities to user:
- Switch from one firmware to the other
- Go back to the old firmware if an upgrade failed

My first question is:
All the adresses of the dowloaded firmware are base on a flash base (ex : 0x80000000) and they are fixed by linker.
How can I virtualize adresses to switch from firmware to another?

Thanks a lot.