2022-10-01 02:27 AM
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.
I enabled Instruction prefetch and cache:
2022-11-04 03:05 AM
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.