NetworkRuntime600_CM4_Keil lib crashing / locking up on call to ai_platform_network_create
Help! I am trying to port CubeAI from an STMCubeMX generated demo (System Performance) to a production app, but the call to ai_platform_network_create never returns.
I can see the code is stuck in the function CRC_Lock but this is internal to the pre-compiled library so I do not know what it is trying to do.
I have the CRC initialised by MX_CRC_Init which contains identical code generated by my Cube reference code and although there are very few difference between the demo code and my production code I feel that I must be missing something which is preventing the AI libs from running smoothly.
The demo code runs beautifully on my target hardware so it is not hardware related. The production code also runs on my target hardware, but only if I comment out the attempts to initialise my ML models.
I've checked Stack, Heap, memory locations, clock configurations etc. everything I can think of is setup very similarly if not identically to the demo code.
Can anyone shed any light on what the AI library requires to be set up for it (and how)? I thought I read somewhere that all it needs is clocks configured but maybe there is something else...
Jonathan
