lemariva / micropython-camera-driver

add camera support to MicroPython
https://lemariva.com
Apache License 2.0
462 stars 99 forks source link

ESP32-CAM fails to take firmware, all three of them. #18

Closed AwesomeCronk closed 3 years ago

AwesomeCronk commented 3 years ago

I got three ESP32-CAM units a while back and used this firmware on one of them. I followed the tutorial at https://lemariva.com/blog/2020/06/micropython-support-cameras-m5camera-esp32-cam-etc and got the board running uPython, though when I tried to get the second board up, it refused to take the firmware. I booted the original board tonight, and I got the same message in the terminal as the boards that refuse the firmware:

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))

waiting for download

I believe this is the stub still running, and not the interpreter. I have been using the commands in README.md to flash the firmware and It has failed for all three units.

AwesomeCronk commented 3 years ago

Update: Happens to be that the ESP32-CAM needs to have pin IO0 tied to ground when programming, but when you wish to use it, it must be left floating or tied high. I simply forgot to remove that jumper when trying to boot the unit. Everything works fine here now.