2023-05-04 02:35 AM
I'm working with Nucleo-f439zi board.
I use dual banking feature.
I cannot find a way to debug from bank 2
how to debug application from bank 2 ?
2023-05-04 12:50 PM
So you run application from bank2 ? Can't use debug option in stm32cubeide?
2023-05-04 01:13 PM
The debugger can see the memory as the MCU sees it.
Add some code to map the banks appropriately, and step into and across the control transfer.
Perhaps build a loader in such a way that it is duplicated in the front of both banks, and then "forks" into the application in the bank of interest.
2023-05-04 02:42 PM
yes, I can flash my code into bank 2 using stm32 st-link utility tool
but cannot debug it
2023-05-15 10:32 AM
Hello @Abdelrahman
You may want to check this example \STM32Cube\Repository\STM32Cube_FW_F4_V1.27.1\Projects\STM324x9I_EVAL\Examples\FLASH\FLASH_DualBoot\
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.