cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK fails to boot after reset when XSPI1 is initialized (LR Mode)

nima2
Associate II

Hi, 

I am working on the STM32N6570-DK board using the Load & Run boot mode.

  • XSPI2 is used to interface the external flash (boot device).
  • XSPI1 is used to interface an external PSRAM.
  • The FSBL is loaded by BootROM and runs from internal SRAM.
  • The FSBL initializes both XSPI2 (for reading the application image) and XSPI1 (for PSRAM).
  • The FSBL copies the application into internal RAM, deinitializes the peripherals, and jumps to the application.

Everything works correctly after a power-on sequence (disconnecting and reconnecting board power).

However, after any system reset, either by:

  • pressing the reset button on the board, or
  • calling NVIC_SystemReset() in firmware

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.

0 REPLIES 0