Skip to content
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

Camera init error 0xffffffff #363

Closed
InokentiySSL opened this issue Feb 8, 2024 · 7 comments
Closed

Camera init error 0xffffffff #363

InokentiySSL opened this issue Feb 8, 2024 · 7 comments

Comments

@InokentiySSL
Copy link

I bought 2 camera models and get the same error. The standard example from arduino ide works and the camera shows. Why is that?
Снимок экрана 2024-02-07 153531
Снимок экрана 2024-02-07 152507
photo_2024-02-08_13-22-20

@InokentiySSL
Copy link
Author

This project is also working.
https://github.com/easytarget/esp32-cam-webserver
Снимок экрана 2024-02-08 140912
Снимок экрана 2024-02-08 140934

@s60sc
Copy link
Owner

s60sc commented Feb 8, 2024

The camera module is telling the app it has a hardware error. Only you can diagnose why. Or just use the other apps

@s60sc
Copy link
Owner

s60sc commented Feb 8, 2024

in ESP32-CAM_MJPEG2SD.ino replace:

if (psramFound()) prepCam();

with:

  if (psramFound()) {
    LOG_INF("PSRAM size: %s", fmtSize(esp_spiram_get_size()));
    prepCam();
  }

Need at least 4MB PSRAM

@nelsonvarela
Copy link

I think this issue can be closed. My CAM has 2MB PSRAM but the seller has 4MPSRAM stated on the website.... misinformation!

I can also see in @InokentiySSL's screenshot he has 2095071 bytes which is not enough.

Thanks @s60sc for your patience and willing to help.

@s60sc
Copy link
Owner

s60sc commented Feb 9, 2024

Thanks for that useful information. I'll add a note to the readme

@soyabeannnn
Copy link

But the thing is I've used different boards from different sellers and it still shows the PSRAM error.

The web server doesn't show up but only says Startup Failure: Insufficient PSRAM for app

@guece1
Copy link

guece1 commented Apr 13, 2024

I have this problem with my esp32s3 and OV5640

Compilation error: 'esp_spiram_get_size' was not declared in this scope

the problem is on Arduino core for the ESP32 3.0.0-rc1 and 3.0.0-alpha3
on 2.0.15 and 2.0.14 i can compile but my cam module wont startup
Startup Failure: Camera init error 0xffffffff on CAMERA_MODEL_ESP32S3_EYE_FREENOVE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants