s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
871 stars 209 forks source link

PSRAM issue #438

Closed Abasithdev closed 3 months ago

Abasithdev commented 3 months ago

Hi guys, do you about this? how to solve? 00:35:05.141 -> [00:00:03.631 WARN setup] Startup Failure: Need PSRAM to be enabled

MahmoudBachebouch commented 3 months ago

I have the same issue

walera3103 commented 3 months ago

The same issue

walera3103 commented 3 months ago

[00:00:00.213 setWifiSTA] Wifi Station IP from DHCP .....[00:00:02.633 onWiFiEvent] WiFi Station disconnected .....[00:00:05.041 onWiFiEvent] WiFi Station disconnected [00:00:05.220 WARN startWifi] SSID POCO_X5_Pro_5G not available, use AP [00:00:05.220 ERROR @ utils.cpp:66] mDNS host: Failed [00:00:08.009 startPing] Started ping monitoring - On [00:00:08.011 startWebServer] Starting web server on port: 80 [00:00:08.012 ERROR @ ESP32-CAM_MJPEG2SD.ino:182] Startup Failure: Need PSRAM to be enabled [00:00:13.010 resetWatchDog] WatchDog started using task: ping E (46278) ping_sock: send error=0 E (76278) ping_sock: send error=0

Abasithdev commented 3 months ago

I found a configuration here if you use arduino IDE image

But after running the compile and upload. the serial show 12:59:56.783 -> [00:00:04.279 WARN setup] Startup Failure: Insufficient PSRAM for app

Abasithdev commented 3 months ago

But the developer said this is can be expected because of board specs. https://github.com/s60sc/ESP32-CAM_MJPEG2SD?tab=readme-ov-file#esp32-cam_mjpeg2sd

but is any chance to fix it? @s60sc or some action from us to do something

Abasithdev commented 3 months ago

after search the log location. I found this image

I think need adjust PSRAM size with flash size and partition type. for example my board size is 2MB, so I need to choose the config like this image

I don't know it is works or not. still in upload progress

s60sc commented 3 months ago

app too complex for 2MB psram, min 4MB required

walera3103 commented 3 months ago

I found a configuration here if you use arduino IDE image

But after running the compile and upload. the serial show 12:59:56.783 -> [00:00:04.279 WARN setup] Startup Failure: Insufficient PSRAM for app

this helped me, thank you. On Tools I have this, not only "Enabled", I hope it will help you. 5675757

MahmoudBachebouch commented 3 months ago

No solution ??

Abasithdev commented 3 months ago

No solution ??

It depends on your board it is support or not, the solution you need change your board or using example code from arduino and modify it

Abasithdev commented 3 months ago

maybe I can close this issue, thanks all, thanks @s60sc