Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Example of a bootloader that could boot 2 different app codes?

In the documentation for “Bootloader and DFU …” / SDK16.0.0  is written “you can use such a bootloader, for example, to switch between several applications”, but I can’t find example or detail instructions how to do this, so:

Could you refer me to any example of a bootloader that could boot 2 different app codes (from 2 different memory location), let say based on if a particular button is pressed at boot time to load code that is offset from the standard memory location for the application, and if it is not pressed – the code that is at the regular app  location?

As well will need some instructions how to decide those memory locations and how to set and download them from SES to nRF5 DK?

Thanks