cancel
Showing results for 
Search instead for 
Did you mean: 

Problems using CubeMX with ST Edge AI for validation of an ONNX model for Nucleo-N657X0-Q

diama13
Associate III

Hello,

I’m encountering an issue when trying to validate an ONNX model using CubeMX with ST Edge AI for the NUCLEO-N657X0-Q board.

Here are the steps I followed:

  1. I started the project in STM32CubeMX using the Board Selector.

  2. I chose to create the project with Secure and Non-Secure domains.

  3. I kept the default board configuration for NUCLEO_N657X0-Q.

  4. Under Middlewares and Software Packs → X-CUBE-AI, I selected version 10.1.0 (STMicroelectronics.X-CUBE-AI) and enabled it. In the Artificial Intelligence section I enabled the Core, while in the Device Application I selected Validation 

  5. Whether I enable or disable the “Optimal Clock Configuration” option, the result is the same.

The problem:
CubeMX gets stuck and does not continue to complete the process. There’s no specific error message — it just hangs indefinitely.

Any advice or workaround would be appreciated.
Thank you

1 REPLY 1
Julian E.
ST Employee

Hello @diama13,

 

I would suggest looking at this:

How to build an AI application from scratch on the... - STMicroelectronics Community

 

The N6 is pretty badly supported by cubeMX...

 

You can also use the st edge ai core CLI directly to validate a model:

Home - ST Edge AI Developer Cloud

The steps are:

  • generate
  • flash the validation script
  • validate on target

 

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.