cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run inference using X-Cube-AI API due to Hard Fault

APerd.1
Associate II

Hi.

I'm trying to run a neural network model using X-Cube-AI, but at the point of performing the inference, my program gets stucked in the Hard Fault handler routine. I attach the details given by the Hard Fault Analyzer in STM32CubeIDE.
_legacyfs_online_stmicro_images_0693W00000dJyjtQAC.pngI have read these issues are mostly related to the heap and stack sizes, but I have considerably increased their size and the problem persists. I would appreciate any help on how to solve this issue?

Thanks in advance. Regards.

1 REPLY 1
APerd.1
Associate II

To provide more details about the exception, when I disassembly the error it leads me to an address of the routine ai_platform_network_process.