ESP32-Cam

Hairyloon
Posts: 7
Joined: Tue Oct 01, 2019 8:58 pm

ESP32-Cam

Postby Hairyloon » Sat May 18, 2024 9:47 am

I have an ESP-Cam, which I have had working in the past, but now it won't initialise.

Code: Select all

E (543) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
Camera init failed with error 0x105
On a whim, I just tried re-flashing it from a different PC, which probably has older versions of all the drivers and it's given me a different error:

Code: Select all

[E][camera.c:1113] camera_probe(): Detected camera not supported.
[E][camera.c:1379] esp_camera_init(): Camera probe failed with error 0x20004
I'm fairly sure it's an AI-Thinker module, and that pinout worked last time.
Do we conclude the camera is dead, or does anyone have any ideas for a better diagnosis?

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: ESP32-Cam

Postby liaifat85 » Sat May 18, 2024 10:40 am

You can check this github thread regarding this "E (543) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
Camera init failed with error 0x105" error. Somebody said that the problem was with the programming example camera web server.
He/she modified the programming and managed to fix it

https://github.com/espressif/esp32-camera/issues/450

Hairyloon
Posts: 7
Joined: Tue Oct 01, 2019 8:58 pm

Re: ESP32-Cam

Postby Hairyloon » Sat May 18, 2024 11:37 pm

liaifat85 wrote:
Sat May 18, 2024 10:40 am
You can check this github thread regarding this "E (543) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
Camera init failed with error 0x105" error.
The first thing they suggest is to use this example, but I can't even get that to compile.
Somebody said that the problem was with the programming example camera web server.
He/she modified the programming and managed to fix it

https://github.com/espressif/esp32-camera/issues/450

Their code gives me the same error as before :(

Hairyloon
Posts: 7
Joined: Tue Oct 01, 2019 8:58 pm

Re: ESP32-Cam

Postby Hairyloon » Sun May 19, 2024 12:38 am

Hairyloon wrote:
Sat May 18, 2024 11:37 pm
The first thing they suggest is to use this example, but I can't even get that to compile.
OK, I tried a bit harder and I take that back.
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:7724
ho 0 tail 12 room 4
load:0x40078000,len:16848
load:0x40080400,len:4
0x40080400: _init at ??:?

load:0x40080404,len:4316
entry 0x4008065c
I (31) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (31) boot: compile time May 19 2024 01:21:55
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v1.0
I (39) qio_mode: Enabling default flash chip QIO
I (44) boot.esp32: SPI Speed : 80MHz
I (49) boot.esp32: SPI Mode : QIO
I (53) boot.esp32: SPI Flash Size : 4MB
I (58) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (67) boot: ## Label Usage Type ST Offset Length
I (74) boot: 0 nvs WiFi data 01 02 0000a000 00006000
I (81) boot: 1 phy_init RF data 01 01 00010000 00001000
I (89) boot: 2 factory factory app 00 00 00020000 00177000
I (96) boot: End of partition table
I (101) esp_image: segment 0: paddr=00020020 vaddr=3f400020 size=15730h ( 87856) map
I (109) esp_image: segment 1: paddr=00035758 vaddr=3ffb0000 size=03460h ( 13408) load
I (118) esp_image: segment 2: paddr=00038bc0 vaddr=40080000 size=07458h ( 29784) load
I (128) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=26af4h (158452) map
I (134) esp_image: segment 4: paddr=00066b1c vaddr=40087458 size=0b688h ( 46728) load
I (146) boot: Loaded app from partition at offset 0x20000
I (149) boot: Disabling RNG early entropy source...
I (166) cpu_start: Multicore app
I (166) quad_psram: This chip is ESP32-D0WD
I (167) esp_psram: Found 8MB PSRAM device
I (168) esp_psram: Speed: 80MHz
I (172) esp_psram: PSRAM initialized, cache is in low/high (2-core) mode.

W (179) esp_psram: Virtual address not enough for PSRAM, map as much as we can. 4MB is mapped
I (200) cpu_start: Pro cpu start user code
I (200) cpu_start: cpu freq: 240000000 Hz
I (200) cpu_start: Application information:
I (205) cpu_start: Project name: camera_basic_example
I (211) cpu_start: App version: 1
I (215) cpu_start: Compile time: May 19 2024 01:21:37
I (222) cpu_start: ELF file SHA256: 0b308aaa4...
I (227) cpu_start: ESP-IDF: v5.2.1
I (232) cpu_start: Min chip rev: v0.0
I (236) cpu_start: Max chip rev: v3.99
I (241) cpu_start: Chip rev: v1.0
I (246) heap_init: Initializing. RAM available for dynamic allocation:
I (253) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (259) heap_init: At 3FFB3E48 len 0002C1B8 (176 KiB): DRAM
I (266) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (272) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (278) heap_init: At 40092AE0 len 0000D520 (53 KiB): IRAM
I (285) esp_psram: Adding pool of 4096K of PSRAM memory to heap allocator
I (293) spi_flash: detected chip: generic
I (297) spi_flash: flash io: qio

W (301) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (312) main_task: Started on CPU0
I (316) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (324) main_task: Calling app_main()
I (329) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2
I (338) cam_hal: cam init ok
I (342) sccb: pin_sda 26 pin_scl 27
I (345) sccb: sccb_i2c_port=1
I (349) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0

E (389) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
E (390) example:take_picture: init camrea sensor fail

I (391) main_task: Returned from app_main()

Who is online

Users browsing this forum: Baidu [Spider] and 86 guests