2025-07-04 1:34 AM
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
Any ideas?
thanks
2025-07-04 1:41 AM - edited 2025-07-04 1:41 AM
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
2025-07-04 2:21 AM
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.
2025-07-04 2:44 AM
You are working with the standalone object detection ai getting started?
Do you really not have the main in /src on your pc?
Have a good day,
Julian
2025-07-04 2:49 AM
I am working with the stm32ai-modelzoo-services github repo and running the stm32ai_mai.py script.