STM32F765II when set nDBOOT = 0, FreeRTOS cann't run. failed in prvStartFirstTask funcion.
STM32F765II uses dual bank mode for firmware upgrade, setting nDBANK=0 and nDBOOT=0,BOOT_ADDR0=0x2000(0x08000000), use ST-LINK Utility。
In bare core, my code running correctly. update the firmware in bank1 and bank2 all successfully.
When add FreeRTOS 10.2.1 use CubeMX, my code failed in prvStartFirstTask function "svc 0" instruction. when I change the nDBOOT to 1, freertos can correctly run.
I checked the SVC_Handler in startup_stm32f765xx.s and FreeRTOS's port.c , they are correct. In debug mode, svc 0 cause reset, but the breakpoint in SVC_Handler cann't reach.
I was wondering if it was an issue with the interrupt vector table. Referring to the description in AN2606, in dual boot mode, there should be no need to consider the issue with the interrupt vector table.
However, my problem looks like a problem with the interrupt. Has anyone encountered this problem before, thanks!
