cancel
Showing results for 
Search instead for 
Did you mean: 

Error: binary file does not exist: Debug/STM32N6570-DK_GettingStarted_ObjectDetection.bin

dogg
Associate III

I was successfully programming my STM32N6 disco board until today when I got this error:

Board programming failed: "Error: binary file does not exist: Debug/STM32N6570-DK_GettingStarted_ObjectDetection.bin"

I am uploading quantized tflite models to the board and all the switches are correctly populated on the board. 

The same thing happens with 

on_cloud: False or True

Any ideas?

thanks

4 REPLIES 4
Julian E.
ST Employee

Hello @dogg,

 

What model are you using?

I got this issue yesterday on the nucleo. I was using a model that was too big and causing an error when building the project. It resulted in the .bin file not being generated.

 

Can you go to modelzoo/application_code/object_detection/stm32n6/application/STM32N6570-DK/stm32cubeIDE and open the project in STM32CubeIDE.

Then please build the application and tell me the error you get.

 

it could also be helpful if you could share your config file and more logs that you get in the terminal. 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.

That must be it. This model is indeed bigger than the others.

Although I am getting this when I open the project:

Resource '/x-cube-n6-ai-people-detection/Src/main.c' does not exist.

 

You are working with the standalone object detection ai getting started?

This: GitHub - STMicroelectronics/STM32N6-GettingStarted-ObjectDetection: An AI software application package demonstrating simple implementation of object detection use case on STM32N6 product.​

 

Do you really not have the main in /src on your pc?

 

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.
dogg
Associate III

I am working with the stm32ai-modelzoo-services github repo and running the stm32ai_mai.py script.