-
Notifications
You must be signed in to change notification settings - Fork 171
Description
Hello,
I can't get the camera module to work on my M5STACK_UNITCAMS3.
I get the following message:
Failed to initialize the camera!
Result: 261 (ESP_ERR_NOT_FOUND)
Please check hardware or correct the camera settings and restart.
I compiled from the main branch and developed with PlatformIO, and I tested several resolution settings.
With the original firmware, the camera was functional, so it is properly connected.
M5 seems to have released a new model with a PY260 camera with 5MP.
https://docs.m5stack.com/en/unit/Unit-CAMS3%205MP
Thanks
21:55:26.157 > [ 5238][I][main.cpp:358] setup(): Core debug level: 5
21:55:26.160 > [ 5238][I][main.cpp:359] setup(): CPU Freq: 240 Mhz, 2 core(s)
21:55:26.160 > [ 5239][I][main.cpp:360] setup(): Free heap: 292980 bytes
21:55:26.160 > [ 5239][I][main.cpp:361] setup(): SDK version: v4.4.7-dirty
21:55:26.160 > [ 5240][I][main.cpp:362] setup(): Board: esp32cam_m5stack_unitcams3
21:55:26.161 > [ 5240][I][main.cpp:363] setup(): Starting ESP32CAM-RTSP...
21:55:26.161 > Config version: 1.6
21:55:26.161 > Config size: 333
21:55:26.163 > Loading configurations
21:55:26.163 > [iwcAll]
21:55:26.163 > |-- [iwcSys]
21:55:26.163 > | |-- 'iwcThingName' with value: 'ESP32CAM-RTSP-747b38a0ed30'
21:55:26.163 > | |-- 'iwcApPassword' with value:
21:55:26.163 > | |-- [iwcWifi0]
21:55:26.163 > | | |-- 'iwcWifiSsid' with value: 'Freebox-163F38'
21:55:26.163 > | | -- 'iwcWifiPassword' with value:
21:55:26.163 > | -- 'iwcApTimeout' with value: '30'
21:55:26.163 > |-- [iwcCustom]
21:55:26.163 > | -- [camera]
21:55:26.163 > | |-- 'fd' with value: '200'
21:55:26.163 > | |-- 'fs' with value: 'UXGA (1600x1200)'
21:55:26.165 > | |-- 'q' with value: '10'
21:55:26.165 > | |-- 'b' with value: '0'
21:55:26.165 > | |-- 'c' with value: '0'
21:55:26.165 > | |-- 's' with value: '0'
21:55:26.165 > | |-- 'e' with value: 'Normal'
21:55:26.165 > | |-- 'wb' with value: '1'
21:55:26.165 > | |-- 'awbg' with value: '1'
21:55:26.165 > | |-- 'wbm' with value: 'Auto'
21:55:26.165 > | |-- 'ec' with value: '1'
21:55:26.165 > | |-- 'aec2' with value: '1'
21:55:26.165 > | |-- 'ael' with value: '0'
21:55:26.165 > | |-- 'aecv' with value: '300'
21:55:26.165 > | |-- 'gc' with value: '1'
21:55:26.165 > | |-- 'agcg' with value: '0'
21:55:26.165 > | |-- 'gcl' with value: '2X'
21:55:26.165 > | |-- 'bpc' with value: '0'
21:55:26.165 > | |-- 'wpc' with value: '1'
21:55:26.165 > | |-- 'rg' with value: '1'
21:55:26.165 > | |-- 'lenc' with value: '1'
21:55:26.165 > | |-- 'hm' with value: '0'
21:55:26.168 > | |-- 'vm' with value: '0'
21:55:26.168 > | |-- 'dcw' with value: '1'
21:55:26.168 > | -- 'cb' with value: '0'
21:55:26.168 > -- [hidden]
21:55:26.168 > [ 5247][V][main.cpp:228] initialize_camera(): initialize_camera
21:55:26.168 > [ 5247][I][main.cpp:230] initialize_camera(): Frame size: UXGA (1600x1200)
21:55:26.168 > [ 5248][I][main.cpp:232] initialize_camera(): JPEG quality: 10
21:55:26.168 > [ 5249][I][main.cpp:234] initialize_camera(): Frame duration: 200 ms
21:55:26.194 > E (5071) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
21:55:26.203 > E (5071) gdma: gdma_disconnect(299): no peripheral is connected to the channel
21:55:26.203 > [ 5284][E][main.cpp:414] setup(): Failed to initialize camera. Error: 0x105. Frame size: UXGA (1600x1200), frame rate: 200 ms, jpeg quality: 10