cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F767 dual boot option from flash memory

gsaru.1
Associate II

Hey everyone,

I'm using the STM32F767 and trying to use the dual boot option to load and run a new image from the flash memory.

Using the stm32CubeProgrammer, I have changed the nDBANK and nDBOOT bits to enable those options. Also downloaded the binary file to the memory address in the flash I desired (0x08120000 - that is starting from sector 17).

And finally changed the BOOT_ADD0 and BOOT_ADD1 to the address above(also tried to change only one of them).

The new image is not running properly/ at all, the error I get:

0693W00000StfJaQAJ.png 

While using the original values for BOOT_ADD0(0x00200000) and BOOT_ADD1(0x00100000), and downloading the binary to the address 0x00200000, everything works just fine and the image is running ok.

Am I missing something to use the dual boot option correctly or to load the image from a flash memory address?

Any advice will be appreciated.

2 REPLIES 2
gsaru.1
Associate II

Hey everyone, still can't make this work.

Help will be appreciated.

FBL
ST Employee

Hi @gsaru.1​ 

Please can you specify the exact part number of the device you are using STM32F767xG or STM32F767xI. In fact, for STM32F767xG sector 17 is mapped to the address 0x080A0000.

Can you also precise the value of BOOT_ADD1 and BOOT_ADD0 that create the issue.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.