2023-12-07 02:30 AM - edited 2023-12-07 02:43 AM
I have version 6.7.0 of STM32CUBEMX, version 8.1.0 of X-CUBE-AI, and my stm32 development board model stm32h743iit6. using the Analyze button on STM32CUBEMX works. But when I generate c code for my onnx model and deploy it to the development board, my model fails to initialize. When I traced how the problem happened, I saw the ai_platform_network_create function. It's a black box function and I can't get inside it (it seems to be an officially provided function). I can compile and burn normally using the Keil software, but I can't proceed further when I run into this function. When I use debugging and click on the Stop button while stuck, my Call stack+Locals window prompts an HardFault_handler error. How do I get my model to run properly?
Solved! Go to Solution.
2023-12-07 03:44 AM
The STM32Cube.AI library requires to have the CRC IP enabled.
Normally when the code is generated using STM32CubeMX and X-CUBE-AI the initialization of the CRC is done automatically. You can copy paste that part of the code in your project.
Regards
2023-12-07 03:44 AM
The STM32Cube.AI library requires to have the CRC IP enabled.
Normally when the code is generated using STM32CubeMX and X-CUBE-AI the initialization of the CRC is done automatically. You can copy paste that part of the code in your project.
Regards
2023-12-07 06:10 AM - edited 2023-12-07 06:10 AM
Thank you for your answer, the problem has been solved!
Thanks again!