2025-10-18 10:14 AM
Hello,
I have been trying for several weeks to run the Getting Started Object Detection demo from the STM32 GitHub repository.
I followed all the steps from the official guide:
“How to run AI models from model zoo on STM32N6” by B. Montanari (ST Employee) — but the STM32CubeIDE part does not work for me.
Each time I try to open the Debug Configuration or start the debugger, I get the following error:
An error has occurred. See error log for more details.
Range [0, -1] out of bounds for length 44
I saw that Ghofrane GSOURI (ST Employee) suggested removing this line from the .project file:
<nature>com.st.stm32cube.ide.mcu.MCUAppSProjectNature</nature
After doing that, I can open the Debug Configuration and start debugging,
but when I upload the project to my STM32N6570-DK board, the demo doesn’t run properly(black screen or the ia doesn't work).
Here is what I have already tried:
Following the full official STM32 AI / Model Zoo setup guide step by step
Using different STM32CubeIDE versions (1.7.0, 1.10.1, 1.13.0, etc.)
Testing multiple AI models
Reimporting and rebuilding the project
Switching workspaces and reinstalling the IDE,.metadata deleting,
Unfortunately, the issue persists — I can’t successfully debug or run any of the models.
Since I’m currently working on a school project, I really need to get this demo running to continue my work.
Could someone from ST or the community please help me solve this problem?
Thank you very much for your support.
Best regards, xoxo
Abdalla