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

Error when initializing camera #5

Open
uraich opened this issue Feb 25, 2020 · 5 comments
Open

Error when initializing camera #5

uraich opened this issue Feb 25, 2020 · 5 comments

Comments

@uraich
Copy link

uraich commented Feb 25, 2020

When initializing the camera I get:
E (34460) gpio: gpio_install_isr_service(409): GPIO isr service already installed
which produces a fatal error in camera.c of the esp-idf esp32-camera component.
I transformed this into a warning without dropping out of the initialization procedure. Like this things seem to work.
I am trying to port the esp-who project to micropython and I extended your micropython c-module (modcamera.c) quite a bit, adding all the functions needed to control the camera (colorbar, hmirror, vflip ...) If interested in the code, please let me know.

@ywz978020607
Copy link

camera.init()
I (437234) sccb: pin_sda 26 pin_scl 27

E (437234) i2c: i2c driver install error
I (437234) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (437304) camera: Detected camera not supported.
E (437304) camera: Camera probe failed with error 0x20004
E (437304) camera: Camera Init Failed
False

I want to know how to fix it. I used the esp32-cam by Taobao which is usually used. Could you please put a firmware of this kind? I think most users in China would use this one.

@uraich
Copy link
Author

uraich commented Apr 10, 2020

Did you compile MicroPython with the camera driver yourself or did you use the binary version supplied?

@ywz978020607
Copy link

ywz978020607 commented Apr 11, 2020 via email

@hklang10
Copy link

hklang10 commented Jun 5, 2020

Patching the esp-idf/components/esp32-camera/driver/camera.c worked for me.

See this:

espressif/esp32-camera@528c97a

@shenzhenjinma
Copy link

Me too, is there any way, please tell me the information,thanks

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

4 participants