2026-05-31 2:57 AM
Hi,
I have a question regarding the STM32N6 BootROM flash boot process.
My understanding is that the BootROM loads the FSBL from an external XSPI flash device. However, it is not clear to me whether the BootROM:
Uses a fixed XSPI/XSPIM configuration (for example, a specific XSPIM port), or
Automatically probes and detects the flash location across available XSPI/XSPIM ports.
For a custom STM32N6 board, the external NOR flash is connected through XSPIM Port1. I would like to understand whether the BootROM is capable of automatically discovering and booting from a flash connected to Port1, or whether Flash Boot is restricted to a specific XSPI/XSPIM port configuration.
Could you please clarify:
Does the STM32N6 BootROM scan multiple XSPI/XSPIM ports during Flash Boot?
Is the boot source port fixed in ROM or configurable through OTP settings?
If the flash is connected only to XSPIM Port1, can the BootROM still load the FSBL from it?
Is there any documentation describing the exact XSPI/XSPIM configuration used by the BootROM during Flash Boot?
Thanks.