-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"CRITICAL FAILURE: Camera sensor failed to initialise" on esp32-cam-webserver, but working on ESP32 CAM example sketch #214
Comments
I fixed this by pulling the latest stable espressif32 instead of the latest dev version. I'm using platformio so it was changing line 15 in platformio.ini to:
|
I used stable version and got Spiffs: No filesystem found #216 |
Unfortunatelly, using Though I have a solution for my problem. My esp32cams were brand new chinese ai thinker clones. I found the comment and tried the solution. So it did the trick. The two steps for brand new boards:
|
thx, this did the trick also for me: The two steps:
Cam modul is loading and stream and still is working again. Only dump page is not loading... but this will not work via OTA. At least step 2, as ESP lost WIFI info after step1, right? |
If the SPIFFS is initialized before the camera everything works like expected |
Ok, so there is something interesting here; as @sptim identifies; things work if the SPIFFS initialisation is done before the camera; and I'm going to re-order the startup code as he suggests. What is weird is that the example SPIFFS sketch does not do anything differently from my sketch, they both start the filesystem with the correct 'format if needed' setting. The important difference, I think, is that this sketch has the camera module initialised and running, but the SPIFFS example does not. The 4.0 RC has several changes to xclk handling; it is set low by default during startup now; and the user can increase it in the UI and save that to the preferences. |
xclk stuff is in de01547 |
Hi,
I struggle with a strange error while using an AI Thinker ESP32 CAM module.
If using this AI Thinker ESP32 CAM with the ESP32 Camera example sketch, all works fine (there I selected "#define CAMERA_MODEL_AI_THINKER" and provided SSID and password before compiling). Additionally I checked the camera parts (I have 3 camera flex cable modules) using a TTGO ESP32 CAM module, they are all ok.
If using the esp32-cam-webserver, then I get this error:
E (7906) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
CRITICAL FAILURE: Camera sensor failed to initialise.
Before compiling I checked if the right ESP32 camera is selected in sketch (default it is selected), I provided SSID and password - same result. I checked that I selected PSRAM enabled boards, also partition scheme for OTA, I tried on board type "ESP32 Dev Module" as well as board type "AI Thinker ESP32 CAM"
It is confusing that in the serial output is this part:
Camera init succeeded
OV2640 camera module detected
OTA is working fine, port is visible in Arduino IDE. I noticed on the serial output that SPIFFS is not there:
E (1311) SPIFFS: mount failed, -10025
Here is the serial output:
Here is my configuration: Ubuntu 20.04, Arduino Genuino 1.8.19, esp32 by espressif 2.0.2
Any hint is appreciated, thank you :)
Catalin
The text was updated successfully, but these errors were encountered: