cancel
Showing results for 
Search instead for 
Did you mean: 

Dual bank mode - built in bootloader doesn't seem to work properly

Giuseppe Ameno
Associate
Posted on December 15, 2016 at 13:33

I've configured the STM32F767 on board of a Nucleo-F767ZI board to work in Dual Bank mode by changing the DBANK bit to 0 (DBOOT left to 1). Modified flash option bytes:

Address         Value

1fff0000         5500aaff

1fff0008         

2000dfff

1fff0010

         ff7f0080

1fff0018         

ffbf0040

I can erase and write from within my application running but the dfu-util doesn't work but the dfu-util does not return any error!

To write to the second bank via dfu-util I must do a mass erase before and download the code:

dfu-util -a0 -d 0483:df11 -v -s 0x08000000:force:mass-erase -D *****

dfu-util -a0 -d 0483:df11 -v -D *****

Also, the mass erase actually returns -7 (timeout) but actually the memory is all FF when read back (ie it works).

It looks like the builtin bootloader does not work properly when in the memory is in dual bank mode. 

Am I right or missing something?

Thanks,

Giuseppe

#dual-bank-mode #stm32f7 #bootloader
1 REPLY 1
Oliver Beirne
Senior
Posted on December 15, 2016 at 13:43

Hi

amg

I&39ve moved your post to

https://community.st.com/community/stm32-community/stm32-forum?sr=search&ampsearchId=68967293-1d5c-4d50-88c0-71a45966f390&ampsearchIndex=0

where product related questions are posted.

Thanks

Oli