Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LilyGO board. E (4263) camera_demo: Camera probe failed with error 0x20001 #27

Open
SergioUno opened this issue Aug 31, 2019 · 1 comment

Comments

@SergioUno
Copy link

SergioUno commented Aug 31, 2019

Hi
I have this board https://github.com/LilyGO/ESP32-Camera.
The board and the camera works with the original samples provided with the LilyGo.
I carefully set up pins to work with your code, and yet I have "Camera probe failed with error 0x20001"

See the log below. I have added few lines to print actual settigs of the camera right after the error:

`ets Jun 8 2016 00:22:57

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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6288
ho 0 tail 12 room 4
load:0x40078000,len:10180
load:0x40080400,len:6712
entry 0x40080768
I (30) boot: ESP-IDF v3.2.2 2nd stage bootloader
I (30) boot: compile time 13:19:05
I (39) boot: Enabling RNG early entropy source...
I (39) boot: SPI Speed : 40MHz
I (39) boot: SPI Mode : DIO
I (43) boot: SPI Flash Size : 4MB
I (47) boot: Partition Table:
I (50) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x191d0
I (129) esp_image: segment 1: paddr=0x000291f8 vaddr=0x3ffb0000 size=0x02e9
I (134) esp_image: segment 2: paddr=0x0002c090 vaddr=0x40080000 size=0x0040
0x40080000: _WindowOverflow4 at C:/msys32/home/Sergey_I/esp/esp-idf/compone
nsa_vectors.S:1779

I (136) esp_image: segment 3: paddr=0x0002c498 vaddr=0x40080400 size=0x03b7
I (151) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x6dc2
0x400d0018: _stext at ??:?

I (311) esp_image: segment 5: paddr=0x0009dc44 vaddr=0x40083f78 size=0x0c5d
0x40083f78: spi_flash_mmap_pages at C:/msys32/home/Sergey_I/esp/esp-idf/com
h/flash_mmap.c:319

I (342) boot: Loaded app from partition at offset 0x10000
I (342) boot: Disabling RNG early entropy source...
I (343) cpu_start: Pro cpu up.
I (346) cpu_start: Starting app cpu, entry point is 0x40081050
0x40081050: call_start_cpu1 at C:/msys32/home/Sergey_I/esp/esp-idf/componen
rt.c:246

I (0) cpu_start: App cpu up.
I (357) heap_init: Initializing. RAM available for dynamic allocation:
I (364) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (370) heap_init: At 3FFB8DB0 len 00027250 (156 KiB): DRAM
I (376) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (382) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (389) heap_init: At 40090554 len 0000FAAC (62 KiB): IRAM
I (395) cpu_start: Pro cpu start user code
I (189) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (4263) camera_demo: Camera probe failed with error 0x20001

I (4263) camera_demo: LEDC_CHANNEL_0 0
I (4263) camera_demo: LEDC_TIMER_0 0
I (4273) camera_demo: CONFIG_D0 17
I (4273) camera_demo: CONFIG_D1 35
I (4283) camera_demo: CONFIG_D2 34
I (4283) camera_demo: CONFIG_D3 5
I (4283) camera_demo: CONFIG_D4 39
I (4293) camera_demo: CONFIG_D5 18
I (4293) camera_demo: CONFIG_D6 36
I (4303) camera_demo: CONFIG_D7 19
I (4303) camera_demo: CONFIG_XCLK 27
I (4313) camera_demo: CONFIG_PCLK 21
I (4313) camera_demo: CONFIG_VSYNC 22
I (4313) camera_demo: CONFIG_HREF 26
I (4323) camera_demo: CONFIG_SDA 25
I (4323) camera_demo: CONFIG_SCL 23
I (4333) camera_demo: CONFIG_RESET 15
I (4333) camera_demo: CONFIG_XCLK_FREQ 20000000
`
The settings of the pin is double checked and the same settigs works with different sketch, so physical contact is not and issue here.

This is the schematic of the board https://github.com/LilyGO/ESP32-Camera/blob/master/ov2640_v1.3.pdf

What else can I try?

@donny681
Copy link
Owner

donny681 commented Dec 4, 2019

I didn't try that program,you can take issues to that program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants