This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Switching between apps with dual bank

Hi,

let's say I program flash with SD, Booloader and merged App1&Ap2 images. I need to switch application (only once, after some self tests) using some command from application.

What would be the best way to do it?

Preferably the App2 image is copied over App1, but if not - that's also acceptable. In both cases DFU must be working after switch.

thanks

Parents
  • Bjoern,

    I wouldn't like to go into details here, but in general we need different sets of features during production, which are not needed in final software. But we don't want to do programming twice - it takes time. Since there is a bootloader it should be pretty obvious to switch applications.

    I already know that this is not really supported operation and I'd need to add some libs from bootloader to do it, but any hint would be helpful.

Reply
  • Bjoern,

    I wouldn't like to go into details here, but in general we need different sets of features during production, which are not needed in final software. But we don't want to do programming twice - it takes time. Since there is a bootloader it should be pretty obvious to switch applications.

    I already know that this is not really supported operation and I'd need to add some libs from bootloader to do it, but any hint would be helpful.

Children
No Data
Related