memory error related with Cube AI
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!





