cancel
Showing results for 
Search instead for 
Did you mean: 

Which software do I need to install to start with STM32N6570-DK?

Anhem
Associate III

I am a newbie with STM32N6570-DK.

My target is to deploy AI model on this board. Which software do I need to install to start with STM32N6570-DK? I means that all softwares.

Thank you.

23 REPLIES 23

@Julian E. @Anhem 
Hi Julian and Anhem,

I am also using stm32n6570-dk and using stm32ai-model-zoo.

I have encountered many errors and solved all of them. 
One with gpu limits.

One with stedgeai.exe file path.
Stm32-programmer-CLI.exe system variable addition.

now after that I am running this command but I am getting error at the end of that.

Error: 

STM32CubeProgrammer v2.18.0
-------------------------------------------------------------------

ST-LINK SN : 003B002D3333511431363730
ST-LINK FW : V3J15M6
Board : STM32N6570-DK
Voltage : 3.27V
SWD freq : 8000 KHz
Connect mode: Hot Plug
Reset mode : Software reset
Device ID : 0x486
Revision ID : Rev A
Warning: Connection to AP 0 requested and failed, Connection established with AP 1

Device name : STM32N6xx
Device type : MCU
Device CPU : Cortex-M55
BL Version : --

Error: File does not exist: STM32N6570-DK_GettingStarted_ImageClassification_signed.bin
Board programming failed: "Error: File does not exist: STM32N6570-DK_GettingStarted_ImageClassification_signed.bin"
Board programming failed: "Error: File does not exist: STM32N6570-DK_GettingStarted_ImageClassification_signed.bin"
Board programming failed: "Error: File does not exist: STM32N6570-DK_GettingStarted_ImageClassification_signed.bin"



Can you both help me. There is this file is missing. "DK_GettingStarted_ImageClassification_signed.bin""

Thanks in advance.

Khonshu.

Hello @Khonshu,

 

This errors is triggered when the model zoo fails to build your project in STM32CubeIDE.

For example, if your model is too big, the application will not build, and so the .bin will not be generated triggering the error.

 

When you do a deploy, the model zoo is using the example application in application_code\image_classification\STM32N6\Application\STM32N6570-DK\STM32CubeIDE

 

Could you please open the project in STM32CubeIDE, build the project and tell me the error you get.

If you could also maybe share your model and user_config.yaml. Thanks

 

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.

@Julian E. 
Hi, 

Can you tell me, when I deplay the model earlier and got error. From that moment my demo is not working on the stm32n6570-dk and screen is also off. Like there is no backled on. Nothing. I set the  Boot 0 and Boot 1 to right.

Why is this happening? 

Can you guide me.

Is it like after flashing the demo is just gone?

 

And I will post about the project open in StmCubeIDE.

 

Thanks

Khonshu

Hello @Khonshu,

 

The N6 does not have internal flash. 

When using Model zoo, the application is built and flashed in internal ram directly.

So, if you restart the board, because the application is in flash, you are indeed loose the application.

 

To have an application that stays when you restart, with the N6, you need to store the application in external flash and configure a first stage boot loader to load the application in internal flash before running the application when booting.

 

You can read more here:

https://community.st.com/t5/stm32-mcus/how-to-create-an-stm32n6-fsbl-load-and-run/ta-p/768206 

 

In the case of model zoo, the application flashed as part of the deployment operation mode, are the getting started application. In the documentation you can read about how to either deploy it in ram directly or do what I described, to flash a FSBL and the Application + weights. For example, with image classification:

STM32N6-GettingStarted-ImageClassification/Doc/Deploy-your-tflite-Model-STM32N6570-DK.md at main · STMicroelectronics/STM32N6-GettingStarted-ImageClassification · GitHub

(You can also look at the other doc in the same folder).

 

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.