Open Airforc opened 1 month ago
Hello @Airforc .
You're having an issue with the camera module. In 90% of cases, if there's an issue with initializing the camera, restarting the MCU helps. However, in your case, restarting the MCU doesn't seem to help. Try disconnecting the camera and reconnecting it. Check the correct insertion of the wires from the camera into the connector on the main board.
E (7582) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
0000-00-00_00-00-00 - Camera init failed. Error: 105
0000-00-00_00-00-00 - Reset ESP32-cam!
Hi @johnyHV,
I get a similar error:
0000-00-00_00-00-00 - Init camera lib
0000-00-00_00-00-00 - Init GPIO
0000-00-00_00-00-00 - Init camera module
E (9312) cam_hal: cam_dma_config(301): frame buffer malloc failed
E (9312) cam_hal: cam_config(385): cam_dma_config failed
E (9312) camera: Camera config failed with error 0xffffffff
0000-00-00_00-00-00 - Camera init failed. Error: ffffffff
0000-00-00_00-00-00 - Reset ESP32-cam!
0000-00-00_00-00-00 - WiFi STA stop
0000-00-00_00-00-ets Jul 29 2019 12:21:46
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:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
E (342) psram: PSRAM ID read error: 0xffffffff
After reading this : https://github.com/espressif/arduino-esp32/issues/6209#issuecomment-1168979160 I think my psram is faulty. I got the module fresh in my mailbox today. Is there anything I can do or just RMA the module?
This is the module I ordered: https://www.amazon.de/dp/B0CXXYGNL4
try few more things -
@mozgy
I can get the camera to work with the example:
#define CAMERA_MODEL_AI_THINKER
But even in the example project I get the PSRAM read error:
rst:0x1 (POWERON_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:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
E (539) esp_core_dump_flash:��ɕ�dump partition found!
E (539) esp_core_dump_flash: No core dump partition found!
E (362) psram: PSRAM ID read error: 0xffffffff
.
WiFi connected
Camera Ready! Use 'http://192.168.10.14' to connect
@mozgy @johnyHV Found my issue.
My Programmer had a solder bridge which bridged 3.3V and IO16 (PSRAM) on the MCU... So PSRAM wasn't detected. But this means the PSRAM check seems to be faulty here.
@bin101 this is strange issue. Do you have a photo ?
@johnyHV of the solder bridge? This was just a hardware issue from a bad manufactured programmer board.
edit:
Those marked pins were bridged
Had this same issue! Mine was on the MCU side. The solder was so thick between 3.3V and I16 that I thought it was actually intentional.
Thanks for the fix, it all works great now!
Flashed my ESP32 cam board (with OV2640 and the correct pinout for the programmer), also set to 'erase all flash prior to upload'.
After flashing board, board service AP becomes somewhat unstable, serial commands do work but MCU appears to be in reboot loop.
CPU reset reason is SW_CPU_RESET, but looks like camera init failed with error 105. I have gotten the camera to show up with an image before, and I have checked the connection of the ribbon cable to the board.