2024-06-10 07:40 AM
I came across a weird issue when using cube-x-ai. When function ai_network_run() was called, almost everything except ai_output[] in the RAM become messed up, including global variables, static and extern variables. All the peripherals need to be re-initialized because values in the handles are wrong. I don't know what's happening inside the ai_network_run() function because its definition is in "NetworkRuntime900_CM7_Keil.lib". My toolchain is CubeMX 6.11 + cube-x-ai 9.0.0 + Keil MDK. I have enabled MPU and CRC for CM7 and the configuration is below. Can anyone tell me what is the exact error? Thank you very much!
2024-06-12 09:26 AM
Have you tried the built-in projects (validation on target or system performance) ?
If they work it is likely that either the activation buffer is not correctly allocated / declared or there is an issue with the input or output buffers