2016-12-15 04:33 AM
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
2000dfff1fff0010
ff7f00801fff0018
ffbf0040I 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 #bootloader2016-12-15 04:43 AM
Hi
amg
I&39ve moved your post to
where product related questions are posted.Thanks
Oli