Skip to main content
Associate II
February 27, 2026
Solved

STEVAL-STWINBX1 – “Automatic build and run failed” during Validation on Target

  • February 27, 2026
  • 2 replies
  • 177 views

Dear ST Technical Support Team,

I am currently developing a voice recognition application on the STEVAL-STWINBX1. I trained a classification model using the notebook:

Utilities\AI_Resources\TrainingScripts\UltrasoundClassification\UltrasoundClassification.ipynb

In the notebook/off-target evaluation, the model achieves >90% accuracy, but after deploying to the MCU the recognition accuracy becomes very low.

To investigate, I used STM32CubeMX → Validation on Target. However, the validation process fails with the message: “Automatic build and run failed” (Automatic Validation on the target)

Thank you for your help. I look forward to your guidance on resolving the validation failure and improving on-MCU accuracy.

Best regards,
dzf

Best answer by Julian E.

Hi @dzf,

 

I have no knowledge about this notebook.

I would say that it is pretty deprecated.

 

The main ways to do AI for STM32 is now to use the tools that you can find here:

Edge AI solutions overview - STMicroelectronics - STM32 AI

 

In your case, I would suggest to look at the ST Model Zoo Services and the audio use cases.

 

Have a good day,

Julian

2 replies

Andrew Neil
Super User
February 27, 2026

@dzf wrote:

Dear ST Technical Support Team,


You realise this is a Community forum - most contributors are not ST Staff ?

If you want direct support from ST, open a Support Case at https://ols.st.com/s/ 

You could also contact you local FAE: https://www.st.com/content/st_com/en/contact-us.html

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Julian E.
Julian E.Best answer
Technical Moderator
March 4, 2026

Hi @dzf,

 

I have no knowledge about this notebook.

I would say that it is pretty deprecated.

 

The main ways to do AI for STM32 is now to use the tools that you can find here:

Edge AI solutions overview - STMicroelectronics - STM32 AI

 

In your case, I would suggest to look at the ST Model Zoo Services and the audio use cases.

 

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.