M5Cam sccb error
Hi I am testing and playing around with the M5Cam. I use the esp32-cam-demo and mingw32. After setting up I get this Errors:
E (630) sccb: i2c write reg=0xff err=0xffffffff
E (38550) sccb: i2c write reg=0x05 err=0x107
E (38580) camera: Failed to set frame size
E (38580) camera_demo: Camera init failed with error 0x20002
But he detected the ov2640 and I activated it in menuconfig.
If I could fix the errors with the Firmware, which is including I dont know how to run it correctly.
Would be nice if someone knows the solution.
I also got same error when I use the code in Github(https://github.com/moononournation/esp32-cam-demo).
I (19) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (696) sccb: i2c write reg=0x28 err=0xffffffff
E (25316) sccb: i2c write reg=0xe0 err=0xffffffff
I (25316) camera_demo: Detected OV2640 camera, using JPEG format
E (25326) sccb: i2c write reg=0xff err=0xffffffff
E (30566) camera: Failed to set frame size
E (30566) camera_demo: Camera init failed with error 0x20002
When I burn the firmware 'M5Cam v0.02' using the M5Burner, I could revert it to the out-of-box demo.
I just would like to let you know my status
- Burn 'M5Cam v0.02' firmware.
- git clone --recursive https://github.com/m5stack/esp32-cam-demo
- Then 'make' it
- plug off usb
Now it is working fine.
in my case, I think I pulled the code from wrong repository.