2025-06-11 1:10 AM
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
2025-06-11 7:45 AM
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.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.