Skip to main content
APerd.1
Associate II
June 4, 2023
Question

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

  • June 4, 2023
  • 1 reply
  • 1200 views

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.

This topic has been closed for replies.

1 reply

APerd.1
APerd.1Author
Associate II
June 4, 2023

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.