Skip to main content
Associate
July 23, 2026
Question

Guidance required for developing a custom External Loader (.stldr) for STM32N6570-DK with S25FS512S QSPI Flash

  • July 23, 2026
  • 3 replies
  • 78 views

Dear STM Support Team,

I am working on a custom hardware platform based on the STM32N6570-DK.

We have replaced the default MX66UW1G45G Octal SPI NOR Flash on the evaluation board with an Infineon S25FS512S Quad SPI NOR Flash. Since the default external loader is designed for the Macronix Octal flash, STM32CubeProgrammer is unable to program the new flash device.

We would like to develop a custom External Loader (.stldr) for the S25FS512S. However, we are unable to find the source code or documentation specific to the STM32N6570-DK external loader.

Could you please clarify the following?

  1. Is the source code for the STM32N6570-DK External Loader (MX66UW1G45G_STM32N6570-DK.stldr) publicly available?
  2. If yes, where can it be obtained?
  3. Is there any application note or documentation describing the API and project structure required to develop an External Loader for the STM32N6 series?
  4. Are there any reference projects or examples for creating a custom .stldr for STM32N6 devices?
  5. If the source is not publicly available, what is the recommended approach for supporting a different external NOR flash such as the S25FS512S with STM32CubeProgrammer?

Our objective is to enable programming of the S25FS512S through STM32CubeProgrammer while continuing to use the STM32N6570 platform.

Any guidance or reference material would be greatly appreciated.

Thank you for your support.

Best regards,

Pratik Savle

3 replies

Associate
July 29, 2026

Hello ​@B.Montanari ,

I went through your article, "How to Create an STM32N6 FSBL Load and Run," but I couldn't find much information about the external loader.

Could you please share some guidance on the external loader queries mentioned above, or point me to any relevant documentation or examples if available?

Thank you for your help.

Pratik

B.Montanari
ST Technical Moderator
July 29, 2026

Hi ​@Pratik Savle ,

Please see my comments below:

  1. Is the source code for the STM32N6570-DK External Loader (MX66UW1G45G_STM32N6570-DK.stldr) publicly available? If yes, where can it be obtained?
    1. You can find a good example in the template folder> STM32CubeN6/Projects/STM32N6570-DK/Templates/Template_FSBL_XIP_Custom at main · STMicroelectronics/STM32CubeN6 , the ExtMemLoader is a project that usese the Memory Loader to create the .stldr
    2. I wrote an article that creates a custom loader> How to debug STM32N6 using STM32CubeIDE | Community
  2. Is there any application note or documentation describing the API and project structure required to develop an External Loader for the STM32N6 series?
    1. Introduction to External memory Manager - stm32mcu
  3. Are there any reference projects or examples for creating a custom .stldr for STM32N6 devices?
    1. The article mentioned in #1 is a good example, but in the wiki, you can go direclty to this page> Getting started with External memory Manager and External memory loader - stm32mcu

Hope this helps

Best Regards

B.Montanari
Visitor II
July 29, 2026

Interesting question. If the existing .stldr source isn't publicly available, you may need to start from one of ST's generic External Loader examples and adapt it for the S25FS512S by implementing the required initialization, erase, write, and read functions. It would definitely help if ST could confirm whether there's an STM32N6-specific reference project or application note available, as that would make developing a custom loader much more straightforward. Hopefully the ST team can point you to the appropriate resources.