Skip to main content
Associate III
February 26, 2026
Question

Cannot generate a simple Cube AI Studio project

  • February 26, 2026
  • 1 reply
  • 198 views

As the title suggests, I've tried to develop a project with Cube AI Studio for a Nucleo N6 similarly following this tutorial:

https://www.youtube.com/watch?v=3zyIpB5o9zQ

There are several problems though:

1) when I try to upload my .onnx model file and I press the button "Run", I always get "memory overflow error"

2) After pressing the button "Generate Code", I get an error on the configuration of clock peripherals. I press "yes" anyway, but it is not what it is showed in the video.

3) the project generated is duplicated (I don't know why) and the folder hierarchy does not follow the one shoed in the video

I upload the folder of the project

1 reply

Explorer II
February 27, 2026

I also am facing the same problem. Nucleo N6 projects does not even succeed with the validation on host option. Probably the reason is it detects 0 KB flash on nucleo N6. 

Julian E.
Technical Moderator
March 4, 2026

Hi @s319189 , @ksharma 

 

There is indeed a bug regarding the generation of validation project for the Nucleo N6.

This will be fixed soon in the new patch. This should come this month.

 

Sorry for the inconvenience.

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.