Esp32cam flashed but not working

I flashed the esp32cam using the MB board but I get the following logs. The installation says its successfull but I get the following logs, which says otherwise

I (26) boot: compile time 20:02:47
I (26) boot: chip revision: 1
I (29) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (36) boot.esp32: SPI Speed      : 40MHz
I (41) boot.esp32: SPI Mode       : DIO
I (45) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (73) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (81) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (88) boot:  3 ota_0            OTA app          00 10 00010000 001db000
I (96) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
I (103) boot: End of partition table
I (108) boot_comm: chip revision: 1, min. application chip revision: 0
I (115) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=40014h (262164) map
I (224) esp_image: segment 1: paddr=0005003c vaddr=3ffb0000 size=040e8h ( 16616) load
I (231) esp_image: segment 2: paddr=0005412c vaddr=40080000 size=0beech ( 48876) load
I (252) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1100f4h (1114356) map
I (679) esp_image: segment 4: paddr=0017011c vaddr=4008beec size=0e354h ( 58196) load
I (717) boot: Loaded app from partition at offset 0x10000
I (717) boot: Disabling RNG early entropy source...
I (729) cpu_start: Multicore app
I (729) quad_psram: This chip is ESP32-D0WD
E (729) quad_psram: PSRAM ID read error: 0xffffffff, PSRAM chip not found or not supported
E (735) cpu_start: Failed to init external RAM, needed for external .bss segment

abort() was called at PC 0x40083020 on core 0


Backtrace: 0x40083ac1:0x3ffe3ba0 0x4008e555:0x3ffe3bc0 0x400949e5:0x3ffe3be0 0x40083020:0x3ffe3c50 0x4007956d:0x3ffe3c80 |<-CORRUPTED




ELF file SHA256: 71b36fda6e4066fa

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7664
load:0x40078000,len:15360
load:0x40080400,len:3744
entry 0x4008067c
I (27) boot: ESP-IDF 4.3.2 2nd stage bootloader
I (27) boot: compile time 20:02:47
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (74) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (82) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (89) boot:  3 ota_0            OTA app          00 10 00010000 001db000
I (97) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
I (104) boot: End of partition table
I (109) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=40014h (262164) map
I (225) esp_image: segment 1: paddr=0005003c vaddr=3ffb0000 size=040e8h ( 16616) load
I (232) esp_image: segment 2: paddr=0005412c vaddr=40080000 size=0beech ( 48876) load
I (253) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1100f4h (1114356) map
I (680) esp_image: segment 4: paddr=0017011c vaddr=4008beec size=0e354h ( 58196) load
I (718) boot: Loaded app from partition at offset 0x10000
I (718) boot: Disabling RNG early entropy source...
I (730) cpu_start: Multicore app
I (730) quad_psram: This chip is ESP32-D0WD
E (730) quad_psram: PSRAM ID read error: 0xffffffff, PSRAM chip not found or not supported
E (735) cpu_start: Failed to init external RAM, needed for external .bss segment

abort() was called at PC 0x40083020 on core 0


Backtrace: 0x40083ac1:0x3ffe3ba0 0x4008e555:0x3ffe3bc0 0x400949e5:0x3ffe3be0 0x40083020:0x3ffe3c50 0x4007956d:0x3ffe3c80 |<-CORRUPTED




It looks like installing/uploading has gone OK, then the board shows this log once it tries to start up?

PSRAM chip not found or not supported suggests it can’t connect to the psram it’s been set to use.
I’d guess it’s either whatever’s being uploaded doesn’t exactly match the board/psram you’ve got, or there’s some kind of issue with the boards psram.

I haven’t used any of the esp32cams, but there may well be variations that need the board/psram defining differently?
What board do you have exactly, and what yaml are you uploading?

edit: this might help?

You haven’t uploaded your yaml.

Your board may not have PSRAM (strange, it should), or the chip is defectiverino.

You can still use it with a custom component I maintain (at limited resolutions, sadly):

Set setting framebuffer_in_psram to false in the esp32_camera settings. This turns off reliance on PSRAM.

Better yet: toss it and buy the Freenove cam. It’s much nicer and feels faster too.

I use it in my MK4 build;