cancel
Showing results for 
Search instead for 
Did you mean: 

X-Cube-AI with STM32N6

chanchal94
Senior

I am using STM32N6570-Dk board.   

I want to perform edge-AI testing on this board. Trying to generate code with X-cube-AI. I am confused with FSBL and application mode, which one to choose? It is visible that FSBL is  default for X-Cube-AI in STM32N6.

My question is:

1. What to choose FSBL or application mode or both while generating the code for X-Cube AI ( I want to do some edge AI based testing )?

2. Only X-Cube AI in STM32IDE (working in .ioc file) is sufficient for edge AI programs or I need something more than that for this purpose?

I am unable to find documentation related to edge AI use for this MCU, If you have one, kindly provide.

 

Thanks & Regards

Chanchal                                                                         

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hi @chanchal94;,

 

We released a new app to replace X Cube AI; this new tool is called STM32CubeAI Studio:

STM32Cube AI Studio- The next-gen stand-alone tool for embedded AI - STMicroelectronics

 

 

recommend using this new tool instead, as X-Cube-AI is no longer being updated.

Regarding your question: the STM32N6 does not have internal Flash memory, which is why an FSBL (First Stage Boot Loader) is required.

Initially, you can work with the STM32N6 in development mode, where you only need the application image.

Later, if you want to store your firmware in external Flash and load it to run from RAM, you will need to enhance your project and configure an FSBL that correctly loads your application from external Flash into internal RAM (or uses XIP, depending on your requirements).

 

You can find useful article here:

Search - STMicroelectronics Community

 

Also, you can find a hello world application in your local install of the ST Edge AI Core in C:\ST\STEdgeAI\3.0\Projects\STM32N6570-DK\Applications\hello_world

 

The STM32N6 is a very particular product. We are currently working on a lot of new documentations to help users.

 

Have a good day,

Julian

 


In order 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.

View solution in original post

3 REPLIES 3
Julian E.
ST Employee

Hi @chanchal94;,

 

We released a new app to replace X Cube AI; this new tool is called STM32CubeAI Studio:

STM32Cube AI Studio- The next-gen stand-alone tool for embedded AI - STMicroelectronics

 

 

recommend using this new tool instead, as X-Cube-AI is no longer being updated.

Regarding your question: the STM32N6 does not have internal Flash memory, which is why an FSBL (First Stage Boot Loader) is required.

Initially, you can work with the STM32N6 in development mode, where you only need the application image.

Later, if you want to store your firmware in external Flash and load it to run from RAM, you will need to enhance your project and configure an FSBL that correctly loads your application from external Flash into internal RAM (or uses XIP, depending on your requirements).

 

You can find useful article here:

Search - STMicroelectronics Community

 

Also, you can find a hello world application in your local install of the ST Edge AI Core in C:\ST\STEdgeAI\3.0\Projects\STM32N6570-DK\Applications\hello_world

 

The STM32N6 is a very particular product. We are currently working on a lot of new documentations to help users.

 

Have a good day,

Julian

 


In order 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.
chanchal94
Senior

Thank you for your suggestion. I tried using STM32 CubeAI studio, I was enable to generate the AI project and load it in IDE. It has generated FSBL+application based combined project. I am using main.c of application for user code changes (In DEV mode) , but it is always debugging FSBL and not reaching application code (As you said FSBL is required for initial bootloading). Should I use FSBL main.c for code changes?

 

Hi @chanchal94,

 

I think this is what you are looking for:

How to debug STM32N6 using STM32CubeIDE - STMicroelectronics Community

 

Have a good day,

Julian


In order 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.