2025-11-12 5:25 AM
Hi,
I am working on the STM32N6570-DK board using the Load & Run boot mode.
Everything works correctly after a power-on sequence (disconnecting and reconnecting board power).
However, after any system reset, either by:
the device does not boot up again and it seems that the FSBL never starts.
If the FSBL only initializes XSPI2 (and does not touch XSPI1 at all), the board boots correctly after both power-on and any kind of system reset. I am using STM32Cube FW_N6 V1.2.0 and STM32CubeMx v 6.15.0.
2025-11-25 2:22 AM
I am now certain the issue is tied to XSPI1 usage. In STM32Cube, if I configure only the external flash on XSPI2, everything works fine, even after software reset. But when I switch to SWAPPED mode and use XSPI1 for the flash (without adding RAM in the configuration), the system fails to boot after a software reset.
It seems that BootROM itself relies on XSPI1, so if the application initializes XSPI1, BootROM cannot re-access it after reset.
Does ST know about this limitation? Is there any workaround or fix available?