ESP-EYE __ Camera init failed with error 0x20003

Yuvaraj1867
Posts: 15
Joined: Wed Mar 06, 2019 4:39 am
Location: Bangalore

ESP-EYE __ Camera init failed with error 0x20003

Postby Yuvaraj1867 » Fri Jun 07, 2019 12:05 pm

Hi

We have five ESP_EYE development kit.

I flashed Camera_Web_Server firmware from esp-who(newly cloned) framework.

From that five boards, 4 boards are working fine and i am able to stream the video in server.

Only one board is giving error : Camera init failed with error 0x20003,

Here is my LOG :
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:0x3fff0018,len:4
load:0x3fff001c,len:6612
load:0x40078000,len:10988
load:0x40080400,len:7320
entry 0x40080780
[0;32mI (28) boot: ESP-IDF v3.2 2nd stage bootloader[0m
[0;32mI (28) boot: compile time 15:52:54[0m
[0;32mI (28) boot: Enabling RNG early entropy source...[0m
[0;32mI (32) qio_mode: Enabling default flash chip QIO[0m
[0;32mI (38) boot: SPI Speed : 80MHz[0m
[0;32mI (42) boot: SPI Mode : QIO[0m
[0;32mI (46) boot: SPI Flash Size : 4MB[0m
[0;32mI (50) boot: Partition Table:[0m
[0;32mI (53) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (61) boot: 0 factory factory app 00 00 00010000 00300000[0m
[0;32mI (68) boot: 1 nvs WiFi data 01 02 00310000 00004000[0m
[0;32mI (76) boot: End of partition table[0m
[0;32mI (80) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x15aa28 (1419816) map[0m
[0;32mI (464) esp_image: segment 1: paddr=0x0016aa50 vaddr=0x3ffb0000 size=0x03728 ( 14120) load[0m
[0;32mI (469) esp_image: segment 2: paddr=0x0016e180 vaddr=0x40080000 size=0x00400 ( 1024) load[0m
[0;32mI (471) esp_image: segment 3: paddr=0x0016e588 vaddr=0x40080400 size=0x01a88 ( 6792) load[0m
[0;32mI (482) esp_image: segment 4: paddr=0x00170018 vaddr=0x400d0018 size=0x878ec (555244) map[0m
[0;32mI (635) esp_image: segment 5: paddr=0x001f790c vaddr=0x40081e88 size=0x17990 ( 96656) load[0m
[0;32mI (682) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (682) boot: Disabling RNG early entropy source...[0m
[0;32mI (683) spiram: Found 64MBit SPI RAM device[0m
[0;32mI (687) spiram: SPI RAM mode: flash 80m sram 80m[0m
[0;32mI (693) spiram: PSRAM initialized, cache is in low/high (2-core) mode.[0m
[0;32mI (700) cpu_start: Pro cpu up.[0m
[0;32mI (703) cpu_start: Starting app cpu, entry point is 0x40081454[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (1198) spiram: SPI SRAM memory test OK[0m
[0;32mI (1199) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (1199) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (1205) heap_init: At 3FFBC9A8 len 00023658 (141 KiB): DRAM[0m
[0;32mI (1211) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (1218) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (1224) heap_init: At 40099818 len 000067E8 (25 KiB): IRAM[0m
[0;32mI (1231) cpu_start: Pro cpu start user code[0m
[0;32mI (1236) spiram: Adding pool of 4096K of external SPI memory to heap allocator[0m
[0;32mI (137) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
I (204) wifi: wifi driver task: 3ffc40b8, prio:23, stack:3584, core=0
I (204) wifi: wifi firmware version: 9415913
I (204) wifi: config NVS flash: enabled
I (204) wifi: config nano formating: disabled
[0;32mI (214) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (224) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (244) wifi: Init dynamic tx buffer num: 32
I (244) wifi: Init data frame dynamic rx buffer num: 32
I (244) wifi: Init management frame dynamic rx buffer num: 32
I (254) wifi: Init static rx buffer size: 1600
I (254) wifi: Init static rx buffer num: 10
I (254) wifi: Init dynamic rx buffer num: 32
[0;32mI (264) camera wifi: wifi_init_softap finished.SSID:ESP32-Camera password:[0m
[0;32mI (314) camera wifi: wifi_init_sta finished.[0m
[0;32mI (314) camera wifi: connect to ap SSID:Uchi_Babu password:babu_uchi[0m
[0;32mI (454) phy: phy_version: 4008, c9ae59f, Jan 25 2019, 16:54:06, 0, 0[0m
I (454) wifi: mode : sta (24:0a:c4:c1:c4:f4) + softAP (24:0a:c4:c1:c4:f5)
I (454) wifi: Init max length of beacon: 752/752
I (454) wifi: Init max length of beacon: 752/752
[0;32mI (464) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (474) gpio: GPIO[14]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (484) sccb: pin_sda 18 pin_scl 23
[0m
[0;31mE (524) sccb: SCCB_Write Failed addr:0x30, reg:0x3e, data:0x00, ret:-1[0m
[0;32mI (524) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (524) gpio: GPIO[37]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (534) gpio: GPIO[38]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (544) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (554) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (564) gpio: GPIO[14]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (574) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
I (584) wifi: ap channel adjust o:1,1 n:11,2
I (584) wifi: n:11 0, o:1 0, ap:11 2, sta:11 0, prof:1
I (1344) wifi: state: init -> auth (b0)
[0;32mI (1344) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (1344) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
[0;32mI (1354) gpio: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
I (1364) wifi: state: auth -> assoc (0)
[0;32mI (1374) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 [0m
I (1374) wifi: state: assoc -> run (10)
[0;32mI (1384) camera: Allocating 2 frame buffers (750 KB total)[0m
[0;32mI (1384) camera: Allocating 375 KB frame buffer in PSRAM[0m
I (1444) wifi: connected with Uchi_Babu, channel 11
I (1454) wifi: pm start, type: 1

[0;32mI (1454) camera: Allocating 375 KB frame buffer in PSRAM[0m
[0;31mE (2554) camera: Timeout waiting for VSYNC[0m
[0;31mE (2554) camera: Camera init failed with error 0x20003[0m
[0;31mE (2554) app_camera: Camera init failed with error 0x20003[0m

[0;32mI (2554) camera_httpd: Starting web server on port: '80'[0m
[0;32mI (2564) camera_httpd: Starting stream server on port: '81'[0m
[0;32mI (3714) event: sta ip: 192.168.0.176, mask: 255.255.255.0, gw: 192.168.0.1[0m
[0;32mI (3714) camera wifi: got ip:192.168.0.176[0m

User avatar
ESP_Me-no-dev
Posts: 64
Joined: Mon Jan 04, 2016 6:30 pm

Re: ESP-EYE __ Camera init failed with error 0x20003

Postby ESP_Me-no-dev » Wed Jun 12, 2019 7:11 am

Can you swap the sensor on that board and try again? Put one from the other working cams and see if it's the board or the sensor that is faulty (I will bet on the sensor here). Error means that the ESP was not able to communicate over I2C with the camera, but the line before that means that the camera did not start at all (timeout waiting for VSYNC).

Who is online

Users browsing this forum: No registered users and 2 guests