I’m pretty new to edge ML and having trouble with a Face Detection project using Edge Impulse’s FOMO model. Getting consistent memory-related crashes that I can’t resolve.
yes sorry is my first time posting so i missed some steps Arduino IDE → 2.3.4 ESP32 Core → 3.3.0
after decoding the exception i get this:
1 | LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads | 28
PC -> 0x42024b8d: ll_cam_set_pin () at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/managed_components/espressif__esp32-camera/target/esp32s3/ll_cam.c:370
0x42024b8a: ll_cam_set_pin () at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/managed_components/espressif__esp32-camera/target/esp32s3/ll_cam.c:370
0x4201cc67: cam_init () at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/managed_components/espressif__esp32-camera/driver/cam_hal.c:402
0x4201c79d: esp_camera_init () at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/managed_components/espressif__esp32-camera/driver/esp_camera.c:303
0x4200300d: ei_camera_init () at /tmp/.arduinoIDE-unsaved2025712-5008-u91tqa.lf0y8/esp32_camera/esp32_camera.ino:260
0x420030bb: setup () at /tmp/.arduinoIDE-unsaved2025712-5008-u91tqa.lf0y8/esp32_camera/esp32_camera.ino:138
0x4200e57e: loopTask (void*) at /home/fusillo/.arduino15/packages/esp32/hardware/esp32/3.3.0/cores/esp32/main.cpp:59
0x4037c195: vPortTaskWrapper () at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139
this decoder is really helpful, but with my little/no experience i still can’t find the issue
(at the end i used this decoder due to my Arduino IDE version)
Something is wrong with you camera init.
The Arduino sketch we ship is by default is for ESP-EYE, you’ll need to make some changes to the camera config to make it work with ESP32-S3 WROOM N16R8 CAM. Check the board documentation or examples for the correct pin config and then change them in our example sketch.
Oh, and we don’t test with 3.3.0 core - it may be possible this is an issue as well. As it says in the sketch // These sketches are tested with 2.0.4 ESP32 Arduino Core