Skip to main content
Associate III
April 28, 2025
Solved

Failed to validate a model on N6 target (using both CLI and CubeMX GUI)

  • April 28, 2025
  • 1 reply
  • 463 views

Hello, me again.

So I tried to validate a file through cubeAI and ST Edge AI. But always stops by a build problem.

Here is what I do with the CLI:

I followed the Getting started - How to evaluate a model on STM32N6 board .

First I generated the things inside the right file. Its done without any problem.

Einstein_rookie_version_0-1745845942524.png

Einstein_rookie_version_1-1745845964172.png

Then, Because I am using the Nucleo board, I used this command.

python C:\Appl\ST\STEdgeAI\2.0\scripts\N6_scripts\n6_loader.py --n6-loader-config C:\Appl\ST\STEdgeAI\2.0\scripts\N6_scripts\config_n6l.json

(I tried to use the normal one without --n6-loader-config but not working, also build error, so I tried this one)

 

And my json scripts are like this:

Einstein_rookie_version_2-1745846036515.png

Einstein_rookie_version_3-1745846132906.png

However the out come is not right, build error:

Einstein_rookie_version_4-1745846186259.png

And it gives out a comic outcome: I dont know why it have such a error worning.

Einstein_rookie_version_5-1745846222887.png

By the GUI from CubeMX, the log is almost the same.

So I have no idea why, the only reason I can think of is that I dont have a Nucleo board validation program:

Einstein_rookie_version_6-1745846306833.png

As you can see here, it only have a DK board project, and the external Flash might and some other configurations might be different.

So could you help me check what is wrong? thanks a lot in advance.

And by the way if there is really a Nucleo Board validation project, could you please tell me where to find it?

Best answer by Julian E.

Hello @Einstein_rookie_version,

 

As of today, it is supported only using IAR, not gcc for the Nucleo board.

We are working on it to make it also compatible with gcc

 

Have a good day,

Julian

1 reply

Julian E.
Julian E.Best answer
Technical Moderator
April 29, 2025

Hello @Einstein_rookie_version,

 

As of today, it is supported only using IAR, not gcc for the Nucleo board.

We are working on it to make it also compatible with gcc

 

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.