Skip to main content
Visitor
July 25, 2026
Question

CubeMX workflow for NUCLEO-N657X0-Q FSBL XIP application with ThreadX and NetX Duo

  • July 25, 2026
  • 0 replies
  • 10 views

Hello,

I am trying to create an FSBL XIP project for the NUCLEO-N657X0-Q with the following structure:

  • FSBL running from internal SRAM

  • Application executing in place from the external XSPI flash

  • ThreadX and NetX Duo running in the Application context

  • Ethernet using the onboard LAN8742 PHY

  • External Memory Loader project

The STM32CubeN6 firmware package contains two relevant examples:

  • Projects/NUCLEO-N657X0-Q/Templates/Template_FSBL_XIP

  • Projects/NUCLEO-N657X0-Q/Applications/NetXDuo/Nx_UDP_Echo_Client

However, the two examples use different project structures.

Template_FSBL_XIP provides the required FSBL, XIP Application, and External Memory Loader structure, but it does not contain the ThreadX, NetX Duo, and Ethernet application configuration.

Nx_UDP_Echo_Client, on the other hand, contains the required ThreadX, NetX Duo, Ethernet, LAN8742, and UDP configuration, but the complete application is assigned to the FSBL context instead of being built as a separate XIP Application.

Copying the complete Template_FSBL_XIP project and regenerating it with STM32CubeMX does not appear to provide all the required NUCLEO board headers, BSP files, middleware files, source files, and include paths needed for a complete project.

For example, some BSP and middleware files appear to be referenced through project-specific paths or additional project settings rather than being fully generated from the .ioc file.

What is the officially recommended workflow for creating this type of project?

 

Can the existing Template_FSBL_XIP.ioc be changed from:

board=custom

to the NUCLEO-N657X0-Q board configuration, or is the board information only applied when the project is initially created through the Board Selector?

Is there an official example, application note, or recommended procedure showing how to convert Nx_UDP_Echo_Client into an FSBL-XIP application?

I would prefer a fully STM32CubeMX-managed project that can be regenerated safely, instead of manually copying source files, middleware folders, BSP files, include paths, build settings, and linker sections between Template_FSBL_XIP and Nx_UDP_Echo_Client.

Could you please clarify the officially supported STM32CubeMX workflow for this use case?

Thank you.