Skip to main content
Associate II
September 3, 2025
Solved

Example code for SFIx variant of external loader

  • September 3, 2025
  • 1 reply
  • 894 views

The following repository contains examples for creating 'normal' type of external loaders, i.e., to be used with the "-el" argument of the STM32CubeProgrammer (e.g., with output "STM32CubeProgrammer/bin/ExternalLoader/MX66UW1G45G_STM32H7S78-DK.stldr"):

https://github.com/STMicroelectronics/stm32-external-loader 

Where can the source code examples be found for the 'SFIx' type of external loaders, i.e., to be used with the "-elbl" argument of the STM32CubeProgrammer (e.g., with output "STM32CubeProgrammer/bin/ExternalLoader/MX66UW1G45G_STM32H7S78-DK-SFIx.stldr")?

Best answer by Jocelyn RICARD

Hello @Eliasvan ,

The SFIx version of the loader is based on exactly same structure as normal external loader.

Difference is at initialization level. Only XPI should be setup. You should remove all previous initialization regarding sytem, clocking and HAL, this is supposed to be already done.

Best regards

Jocelyn

 

1 reply

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
September 10, 2025

Hello @Eliasvan ,

The SFIx version of the loader is based on exactly same structure as normal external loader.

Difference is at initialization level. Only XPI should be setup. You should remove all previous initialization regarding sytem, clocking and HAL, this is supposed to be already done.

Best regards

Jocelyn