Skip to main content
Associate II
June 11, 2025
Solved

NUCLEO-N657X0-Q STM32CubeMX (.IOC) Template

  • June 11, 2025
  • 1 reply
  • 331 views

Hello,

is there NUCLEO-N657X0-Q template(s) available for CubeMX GUI (IOC project) that is/are preset for XIP or LRun? (ExtMem, Loader, XSPI etc settings ready).

I'm trying to build a basic blink project starting from CubeMX IOC with BSP support (that i will later use as a basic template to [easily] add some AI Models though X-CUBE-AI plugin), however, while the code generated works fine in DevBoot debug mode (running directly from RAM) i cannot make it work when i store it in the octospi flash. (both FSBL & Appli are signed). I highly suspect that i may be doing something wrong with the extMem and/or XSPI2  setup to CubeMX initial setup!

I am attaching the Full project (IOC & generated code). the root project dir also contains a "SignAndLoad_All.bat" that i use for signing and uploading the extMem.

a) Are there any IOC templates/projects with preset ExtMem & XSPI Connectivity settings for the NUCLEO-N657X0-Q available? (especially a XIP template would be ultra-usefull in easily importing various AI models!!!)

b) If it isn't too much hassle can (somebody) please indicate where is the error(s) in the project? 

 

Thanks In advance

Tasos

Best answer by Semer CHERNI

Hello @Unfgr 

First let me thank you for posting.

Unfortunately, at this stage there are no STM32CbeMX based template project for XIP or LRun.

However, the firmware package contains template for XIP and LRUN without the ioc.

STM32Cube_FW_N6_V1.1.1\Projects\NUCLEO-N657X0-Q\Templates\Template_FSBL_XIP

In addition for the XSPI interface configuration, check this article How to create an STM32N6 FSBL load and run - STMicroelectronics Community

BR,
Semer.

 

1 reply

Semer CHERNI
Semer CHERNIBest answer
ST Employee
June 11, 2025

Hello @Unfgr 

First let me thank you for posting.

Unfortunately, at this stage there are no STM32CbeMX based template project for XIP or LRun.

However, the firmware package contains template for XIP and LRUN without the ioc.

STM32Cube_FW_N6_V1.1.1\Projects\NUCLEO-N657X0-Q\Templates\Template_FSBL_XIP

In addition for the XSPI interface configuration, check this article How to create an STM32N6 FSBL load and run - STMicroelectronics Community

BR,
Semer.