2025-11-01 1:08 PM
I tried to follow this tutorial: How to build an AI application from scratch on the... - STMicroelectronics Community , could not figure out how to enable NPU RIF, so i skipped it. I tried to debug using the FSBL main.c, the blue led did turn on, but i got the error in the screenshot when trying to launch application in FSBL main.c. Project: willisk0612/nucleo-getting-started
2025-11-09 5:59 AM
@erna23 Thanks for the answer. Do you have any idea why Appli debugger got stuck in inference?
2025-11-09 4:48 PM - edited 2025-11-09 4:53 PM
@williskI’m not sure if this will fix the issue, but please check the following:
In .ioc → Middleware → X-Cube-AI → Configuration → Network,
make sure that Analyze is enabled.
If it’s not enabled, please re-import the AI model and enable it.
After re-importing the AI model, the clock settings may change.
Go to RCC → Power Regulator and set it to 0.
Once all these settings are complete, delete the NPU file that was imported into the Appli project, and then re-import it.
If all the above steps have been completed, please try uploading Network.hex to the board again.
2025-11-14 1:10 PM
@silpiode I still didnt get it to work. I have kinda given up on STM32CubeIDE, i am constantly getting stuck generating code for 30 minutes, and run into out of memory errors all the time, and endless amount of bugs. Good news is that i got this working: willisk0612/edgeimpuse-nucleo-stm32n6 . Edge Impulse supports importing tflite files, and exporting them as ST Neural ART. Edge Impulse devs also recently added NUCLEO-N657X0-Q support. I got it working effortless, without fighting against the eclipse IDE. It requires some manual coding instead of ioc files, but it was worth it for my case.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.