cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE/MX Issues with Cube-AI

PZhuMax
Visitor

I've been trying to flash a .tflite model onto my NUCLEO-L433RC-P, using STM32CubeMX and Keil uVision5 initially, and later with STM32CubeIDE. But for some reason I keep getting issues either with "Analyze" or with generating the code. I am on Windows 11. My computer is in the chinese language, but my system local is English (US).

Initially, while using CubeMX/Keil, I was able to successfully analyze my model after downgrading to the 7.1.0 version of Cube-AI. Before that, with the newest version, I get "TOOL ERROR: 'utf-8' codec can't decode byte in position x in position y: invalid start byte". But after analyzing and successfully running the model on desktop, when it comes to generating the code to run on my device, it refuses to generate any .h files nor the middlewares folder.

 

I looked online and couldn't find any solutions, and decided to download CubeIDE as I thought that this might fix the issues.

 

But after downloading CubeIDE, I faced even more issues, as now on top of getting the exact same TOOL ERRORs when using the latest Cube-AI version, I get a simple "[AI:Network] Analyze fail on the AI model" with no further error reports or anything.

 

I am very lost as to what I should do.

0 REPLIES 0