Skip to main content
Associate
August 17, 2026
Solved

STM32N657L0 NOR flash XIP/LRUN problem

  • August 17, 2026
  • 4 replies
  • 36 views

Hi,

I’m trying to run a simple FSBL application from NOR flash on a custom STM32N657L0 board. The application runs without any issues in Dev-Mode from RAM. However, when I sign and flash the same application, it does not run.

I’m using a custom external flash loader for the W25Q64JV NOR flash, based on the template provided in the STM32Cube repository. I’ve attached it for your reference.

I also have a question regarding VDDCORE. It is currently set to 0.89 V, while we are operating in normal-speed mode. Should we reduce the voltage to 0.8 V? Could the current VDDCORE setting be a potential cause of the problem?

General info:

  • Board is working with 3v3 domain
  • XSPI2 is used.
  • HSE with no PLL is used (48MHz).

I have used the following the guides provided by ST for the tests:

 

 

 

Best answer by javad321javad

The problem was in hardware. the VDDA1v8PLL was not connected. After fixing the hardware issue, it starts to works. Thanks for your help and support.

4 replies

KDJEM.1
ST Technical Moderator
August 17, 2026

Hello ​@javad321javad and welcome to the community;

 

Could you please to check your external loader configuration.

May be this wiki Getting started with External memory Manager and External memory loader - stm32mcu can help you.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
Associate
August 17, 2026

Hi ​@KDJEM.1 ,
Thanks a lot for your reply,
I have checked that link and modified my project configuation based on”W25Q64JV” NOR flash. To be compatible with the default setings to read from XSPI1/Single line, I also modified the project configuartion to use XSPI1.

Still not able to run from the flash.

Now the configuation looks like this:

  • For XSPI1:
  • For MXSPI:
  • For EXTMEM_MANAGER:

and

  • For EXTMEM_LOADER:
  • PWR

 

javad321javadAuthorBest answer
Associate
August 18, 2026

The problem was in hardware. the VDDA1v8PLL was not connected. After fixing the hardware issue, it starts to works. Thanks for your help and support.

KDJEM.1
ST Technical Moderator
August 18, 2026

Hello ​@javad321javad ,

 

Glad to know that the issue has been resolved, and I want to thank you for coming back to the community to share the solution.

Thank you for your contribution in STCommunity.

 

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.