2025-03-13 7:42 AM
I am working with the Nucleo-N6 Board and i am trying to get a neural network to run on the ART accelerator. The following steps are done to create the project:
While building -> fatal error in "app_x-cube-ai.c" where the line #include "aiSystemPerformance.h" cant be resolved.
Are my steps to create a project with AI correct?
STM32CubeIDE Version: 1.17.0
OS: Ubuntu 22.04.5 LTS
X-Cube-ai: 10.0.0
N6 Firmware: 1.0.0
Solved! Go to Solution.
2025-03-21 9:21 AM
You can find the online documentation here
https://stedgeai-dc.st.com/assets/embedded-docs/index.html
with a chapter on how to perform inferences on the target.
AI Code generation with MX for N6 has been fixed in the upcoming April release. At this point the systemPerformance application is not supported (it should be removed from the possible choices), you can use the Template Application for a simple template.
You'll still have to manage the loading of the secure and non secure programs from the FSBL code. This part is not directly generated by X-CUBE-AI but can be generated with MX.
I recommend using the latest STM32CubeMX 6.14 as some bug fix have been done also on N6 support
Regards
Daniel
2025-03-18 2:18 AM
Hello @LukasOst ,
Sorry for the late answer.
We have some bug when regenerating code with CubeMX and X Cube AI and we think your issue may come from that.
I've ask the dev team for help. I'll update you when I have more information.
Have a good day,
Julian
2025-03-19 12:31 AM
Hello Julian.
Will a simple guidance of NPU be published and in the next update? I use NUCLEO-N6 Board too and can't wait to run my own model on N6 chips.
Really looking forward for your reply.
Best wishes,
2025-03-21 9:21 AM
You can find the online documentation here
https://stedgeai-dc.st.com/assets/embedded-docs/index.html
with a chapter on how to perform inferences on the target.
AI Code generation with MX for N6 has been fixed in the upcoming April release. At this point the systemPerformance application is not supported (it should be removed from the possible choices), you can use the Template Application for a simple template.
You'll still have to manage the loading of the secure and non secure programs from the FSBL code. This part is not directly generated by X-CUBE-AI but can be generated with MX.
I recommend using the latest STM32CubeMX 6.14 as some bug fix have been done also on N6 support
Regards
Daniel
2025-03-24 12:17 AM
Hey @fauvarque.daniel thanks for your answer.
My problem at the moment is that the number of choices in CubeMX when creating a new project is a bit overwhelming. Can you maybe explain when do i need to use the FSBL? From the information i found i understood it that way that i need FSBL if i want to store the Network in extern memory. Is this correct?
Also i am kind of confused by the architecture of the project after creating a new project in CubeMX/CubeIDE. Why is it setup like a "nested" project?
2025-03-28 1:33 AM
Hey @fauvarque.daniel
do you know the date when the April release is planned to publish?
Regards
Lukas
2025-04-08 8:12 AM
Hello @LukasOst ,
I think it is end of april
Have a good day,
Julian