Issue in External memory code execution when ported from STM32F756NG to STM32F779NI
Hi,
I have 2 eval boards STM32F756G-EVAL2 and STM32F779I-EVAL.
I am using this example from STM32FCube library
\en.stm32cubef7\STM32Cube_FW_F7_V1.14.0\Projects\STM32756G_EVAL\Applications\ExtMem_CodeExecution\ExtMem_Boot .
I am able to run this sucessfully on STM32F756G-EVAL2. But same thing when I am porting on STM32F779I-EVAL, it stucks in bootloader code in QSPI external flash init.
I am using below mode:
XiP code execution from external QSPI Flash, Data in internal SRAM.
After debugging, I found that it stucks in bootloader code in below call stack
Memory_Startup()->QSPI_Startup()->QSPI_EnterMemory_QPI()->HAL_QSPI_AutoPolling
I checked schematic both eval boards using same memory N25Q512A.
Note: It stucks in HAL_QSPI_AutoPolling function call after 1st enable write operations in QSPI_EnterMemory_QPI().
Let me know if anyone have used same example or any basic idea about the root cause will help