cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO N657X0 Templates

jrocher-althea
Associate

Hi all, 

 

I am trying to make my NUCLEO N657X0 board working with  : 

  1. FSBL
  2. APPSecure
  3. AppNonSecure

 

I am having issue in understanding how to get the things done  : 
I have created a new STM32 project on STM32CubeIDE, ending with having 4 differents projects in the IDE 
- AppliNonSecure, AppliSecure, ExtMemLoader, FSBL 

I selected generate demo code, and everything works fine in debugging FSBL following the jumpers indications etc...

Until there, no problem.

 

Now I want to run in the XIP template to execute my code from External Flash. 
I found the template STM32Cube_FW_N6_V1.1.0\Projects\NUCLEO-N657X0-Q\Templates\Template_Isolation_XIP

Is there any documentation on how to use this ? There is no STM32CubeIDE project, its just src and inc folders. 
Shall I copy paste the source and include files in my previously created projects ? 

I am getting a bit lost on how I could start having my NSApp running and start developping my solution. 
could you provide any advises ? documentation ? 

 

Kind regards

 

 

Thank you very much

3 REPLIES 3
CMYL
ST Employee

Hello @jrocher-althea 

Your questions are asked internally. 

Note: for internal tracking only question reference is 209176

 

Best Regards

CMYL
ST Employee

Hello @jrocher-althea 

Below the answers to your questions. Let me know if this is helpfull.

 

1) In repository STM32Cube_FW_N6_V1.1.1\Projects\NUCLEO-N657X0-Q\Templates\Template_Isolation_XIP, the template folder contains all project files for EWARM, ARM-MDK and STM32CubeIDE. Check my folder structure in attached picture.
There is also a Readme.html and Readme.md file which are explain how to use it.

2) If Customer has created it's own application using latest STM32CubeMX, the XIP configurations feature can be managed with Middleware EXTMEM_MANAGER in the Boot usecase section and selecting "Selection of the boot system = Execute In Place" where Memory 1 must be XSPI2.

3) You can also refer to STM32Cube_FW_N6_V1.1.1\Documentation\In the STM32CubeN6GettingStarted.pdf the section is 5.1.5 Running the Isolation_XIP (eXecute In Place) template project

 

Best regards

CMYL
ST Employee

Hello @jrocher-althea 

Do you have any feedback on the last answer ?

 

Best Regards