cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeAI: INTERNAL ERROR: E801(HwIOError): Invalid firmware

knight
Visitor

Dear Community,

I am attempting to deploy an .onnx model to STM32F407VET6 via STM32CubeAI 10.0.0.

I have generated the code, completed the compilation and download through MDK5, and also completed the validate on desktop on STM32CubeMX. However, when conducting the validate on target, I encountered the "INTERNAL ERROR: E801(HwIOError): Invalid firmware - COM3:115200" issue. I'm a novice, maybe I haven't done the configuration work well and don't know how to make adjustments.


I have attached my code file in the attachment. If I need to provide more relevant files, please let me know. I would be extremely grateful!

 

Regards

knight

1 REPLY 1
Julian E.
ST Employee

Hello @knight,

 

To do a validation target with X Cube AI:

  • Make sure to use the lastest available version of X Cube AI
  • Open CubeMX and select your board

JulianE_5-1745915306567.png

  • Initialize all peripherals as default
  • Look for X Cube AI under Middleware and Software Packs
  • Activate X Cube AI and select the validation template

JulianE_4-1745915262744.png

  • Browse for your model
  • Make sure that the model is compatible by doing an Analysis
  • Click on Validation on Target
  • Com Port: Automatic, Baudrate: 115200 (921600 for N6)
  • Check Automatic Compilation and Download
  • Select your toolchain / IDE: STM32CubeIDE
  • Make sure that your board is connected to the PC

JulianE_3-1745915245825.png

 

Then, to create your own application, use the application template instead of the validation template

 

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.