i am getting a capture failure: Camera init failed with error 0xffffffffOk!
Initializing the MicroSD card module… Starting SD Card
Picture file name: /picture0.jpg
Camera capture failed
Picture file name: /picture1.jpg
Camera capture failed
Picture file name: /picture2.jpg
Camera capture failed
Picture file name: /picture3.jpg
Camera capture failed
Picture file name: /picture4.jpg
Camera capture failed
Picture file name: /picture5.jpg
Camera capture failed
Picture file name: /picture6.jpg
Camera capture failed
Anyone know the solution
in advance thank you
Hi.
What ESP32 board are you using?
Do you have the camera inserted correctly on the board?
What about the microSD card? Is it well-connected?
How are you powering your board?
Regards,
Sara
Hi Sara, thank you for replying. As i mentioned before: I am using an esp32 S Cam Model nr: MH-RT LIVE ESP32. The TYPE : logic IC. and brandname: ANteersi. I am using an esp32 cam MB programmer. The module have an IPUS psram. For compiling and uploading i select AI THINKER. I tried the first en the sixth project of module 2. I have tried several esp32 S cam modules. I am getting the same error notifications.: Initializing the camera module…
E (2478) cam_hal: cam_dma_config(300): frame buffer malloc failed
E (2478) cam_hal: cam_config(384): cam_dma_config failed
E (2478) camera: Camera config failed with error 0xffffffff
Camera init failed with error 0xffffffffInitializing the MicroSD card module…
Starting SD Card. In de sixth project i am not getting images too, s it is hard for me to know what i am picturing.
I hope this info will do, thank you by advance for helping
regards
siegmund
Hi.
Can you double.check your ESP32 boards installation?
Go to Tools > Board ^> Boards Manager, search for ESP32 and check the version that you have, you may need to update…
What is the version that you have installed?
Regards,
Sara
hi Sara thank you for replying. The version is: 2.0.14, i think the latest.
The esp32 module i am using have the following technical specifications:
Overview
Reported item
ESP32-CAM-MB
Parameters:
Utilizes a dual-core 32-bit low-power CPU that can be used as an application processor.
The main frequency goes up to 240MHz, and the computing power can reach a maximum of 600 DMIPS.
Built-in 520KB SRAM, external 8MB PSRAM.
Supports UART/SPI/I2C/PWM/ADC/DAC and other interfaces.
Supports OV2640 and OV7670 cameras with a built-in flash.
Supports photo Wi-Fi uploading.
Supports TF card.
Supports multiple sleep modes.
Embedded LwIP and FreeRTOS.
Supports STA/AP/STA+AP work modes.
Supports Smart Config/AirKiss network configuration with one-click.
Supports secondary development.
Specifications:
Operating Voltage: 4.75-5.25V.
SPIFlash: Standard 32Mbit.
Internal RAM: 520KB + external 8MB PSRAM.
Wi-Fi: 802.11b/g/n/e/i.
Bluetooth: Bluetooth 4.2 BR/EDR and BLE standard.
Supported Interfaces (2Mbps): UART, SPI, I2C, PWM.
Supports TF card, maximum support 4G.
IO Ports: 9.
Standard Port Speed: 115200bps.
Spectrum Range: 2400 ~ 2483.5 MHz.
Antenna Shape: On-board PCB antenna, gain 2dBi.
Image Output Format: JPEG (OV2640 only), BMP, GRAYSCALE.
Package Method: DIP-16.
Transmission Power:
802.11b: 17 ± 2dBm (@ 11Mbps).
802.11g: 14 ± 2dBm (@ 54Mbps).
802.11n: 13 ± 2dBm (@ MCS7).
Receiving Sensitivity:
CCK, 1Mbps: -90dBm.
CCK, 11Mbps: -85dBm.
6Mbps (1/2BPSK): -88dBm.
54Mbps (3/4/64-QAM): -70dBm.
MCS7 (65Mbps, 72.2Mbps): -67dBm.
Power Consumption:
Turn off the flash: 180mA @ 5V.
Turn on the flash and adjust the brightness to the maximum: 310mA @ 5V.
Deep sleep: the lowest power consumption can reach 6mA @ 5V.
Modem-sleep: the lowest can reach 20mA @ 5V.
Light sleep: the lowest can reach 6.7mA @ 5V.
Security: WPA/WPA2/WPA2-Enterprise/WPS.
Operating Temperature: -20°C ~ 70°C.
Storage Environment: -40°C ~ 125°C, <90% RH.
Application:
Home smart device image transfer.
Wireless monitoring.
Smart agriculture.
QR wireless recognition.
Signal wireless positioning system.
And other IoT applications.
Specifications:
Package: DIP.
Customized: Yes.
Model Number: ESP32-CAM-MB.
Operating Temperature: -20°C ~ 70°C.
Dissipation Power: 1.
Supply Voltage: 4.75-5.25V.
Application: Computer.
Condition: New.
Type: Voltage Regulator.
Brand Name: Bolantedz.
Origin: Cn (Origin).g
regards
regards
siegmund
Hi.
I’m not sure why. Maybe that’s something wrong with the board itself?
I don’t know what else can be wrong.
Do you have an FTDI programmer? Just to check if the MB programmer is preventing the PSRAM to initialize.
REgards
Sara
hi Sara thankk for replying.
i don’t have a FTDI programmer. All the 5 boards have the same problems. With all of them i can run only the CameraWebServer.ino example of arduino IDE in CIF setting. It is not possible to run the other projects of your ebook. It is curious, cause i have also an esp32 cam of Espressif and that is doing fine and that is also the same for the esp32 Wrover.dev Cam board. I am beginning to believe that the boards itself are wrong. I have to live with this. Anyway Sara thank you for your efforts.
regards
Hi Sara, i was too optimistic about the Wrover.Cam. I am trying the Code/Module_2/Take_Photo_Web_Server/Take_Photo_Web_Server.ino, project. The Wrover module is compiling and uploading well, but the serial monitor output keeps scrolling. This is the monitor output:
LittleFS mounted successfully
IP Address: http://192.168.2.16
E (1725) cam_hal: cam_dma_config(300): frame buffer malloc failed
E (1725) cam_hal: cam_config(384): cam_dma_config failed
E (1725) camera: Camera config failed with error 0xffffffff
Camera init failed with error 0xffffffffets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x17 (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:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
There is no contact with the webserver
Do you know the solution?
regards
siegmund
Hi.
It’s very difficult to understand what might exactly be the issue.
I think it may be related to the power supply, but I can’t be sure. As I’ve mentioning, maybe the MB board programmer is preventing proper initialization of PSRAM or there is not enough power for the board to initialize properly.
I would also suggest trying some older ESP32 installation versions to check if it’s some compatibility issues between the ESP32 core versions.
Regards,
Sara
hi Sara thank for your advise, i will try that and report the results
regards
siegmund
Ok.
Thanks. Then, let me know if you find something useful to solve this problem.
Regards,
Sara
hi Sara. I have installed the 2.05 ESP32 version. The result: the espressif and the wrover module have smoother streaming images. For the wrover i am using the esp32 wrover board. Conclusion: problem solved for the espressif and wrover modules.
However the third module with the strange logo do not rspond to the changes. But i can use it for the camerawebserver.ino projects. You can’t have everything.
Any way thank you for the advise
regards
siegmund