cancel
Showing results for 
Search instead for 
Did you mean: 

Dual boot on STM32F427?

maxzor
Associate II
Posted on August 13, 2016 at 11:59

Hello,

I am rather confused, as I have read software dual boot was only possible in f7.

But I recently came across dual bank boot options available on f4 : is it possible to dual boot on f4, in soft real-time?

I use the f427 chip on a flight controller board for a drone. I wonder if it is possible to switch firmware in-flight...

Best regards,

Maxime

#dual-boot
2 REPLIES 2
Posted on August 13, 2016 at 13:02

The 2MB models have two 1MB banks.

If you fork the code (from a common point in both banks) and clear the caching (ART) swapping the banks while running should be possible. The bank swap is a single bit, and changes the address decode. I'd use a common 16KB loader in the first sector of both banks to achieve this.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
maxzor
Associate II
Posted on August 16, 2016 at 17:39

Thank you! Will have a further look into it.