cancel
Showing results for 
Search instead for 
Did you mean: 

Which settings/configuration I need to use for dual boot on Nucleo F767ZI?

Glenfinnan
Associate

I am using STM32F767ZI nucleo board (2Mb of flash) with dual bank (nDBANk=0) and dual boot (nDBOOT=0) but I am not able to run a simple program that toggles LED1 using HAL functions. When I enable Dual Boot in the option bytes, the program stop to work and the LED stops to blink.

After the software enables the TIM6 global interrupt, it breaks at address 0x1ff05cec with no debug information available, or outside of program code.

0693W00000Un9COQAZ.pngI enabled Instruction prefetch and cache:0693W00000Un9CYQAZ.png

1 REPLY 1
FBL
ST Employee

Hello @Glenfinnan​,

I was wondering if the issue is solved.

If not, as a first step please make sure to follow the steps when running sample code on both banks by loading the binary files on each bank. Try to follow the program counter and make sure when enabling dual bank nDBANK=0 (unchecked) it runs at the right address 0x0800 0000 for both banks code.

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.