wafa_ath
DIIDevHeads IoT Integration Server
•Created by wafa_ath on 7/30/2024 in #firmware-and-baremetal
How to debug intermittent crashes when running MobileNet SSD on ESP32?
Hello!
I'm deploying a MobileNet SSD object detection model on an ESP32 microcontroller using the ESP-WHO framework. During inference, the device occasionally crashes with the error
Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
. The crashes occur intermittently, roughly once every 10-15 inferences, and I haven't noticed a specific pattern related to the input data. My model is approximately 20 MB, and the input images are 320x240 pixels. I've confirmed that my input data and model are correctly formatted.
What advanced debugging techniques or optimizations can I apply to handle such intermittent crashes? Are there any best practices for managing memory and processor load on the ESP32 when running complex models? Additionally, are there any specific tools or logs I should focus on to identify the root cause of these crashes?3 replies