Problem flashing brand-new ESP32-CAM. #15693
-
It is a bit OT (as this is not strictly Tasmota problem):
` rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2)) If then try to upload firmware, I get success: `[laurent@laptop4 esptool]$ ./esptool.py --chip esp32 --before default_reset --after hard_reset --port /dev/ttyUSB5 --baud 921600 write_flash -z --flash_mode dout 0x0 /opt/esp-open-sdk.old/esptool/tasmota32-webcam.factory.bin -fm dout Leaving... But returning to Minicom - still nothing. So doughterboard seems to work. But something does not. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
For ESP32, you should use current esptool.py, v2.3.1 is ancient, but may have worked. However it saying After flashing, you should disconnect gpio0 from ground, and power cycle the device to get out of flashing mode. If everything is ok, then it should boot normally, and broadcast a Wifi AP to connect to, and of course also have a serial console available. Note that many computer USB sockets may be too low in power for ESP32 to operate reliably, especially with camera. Better to use a stronger power supply, at least 1A of 5V. BTW: My experience with those cheap ESP32-CAM modules is that quality may be "varying", to put it nicely. |
Beta Was this translation helpful? Give feedback.
-
Finally GOT IT:
Question [OT] - why firmware allways tries to init camera? Even if board type is set to ESP32-DevKitC? Should I reflash to "regular" Tasmota32 (if no plans to use camera on one of modules, but want I2C, ADS1115 and INA226 - for the last one I think I'll have to compile my own like for ESP8266?) |
Beta Was this translation helpful? Give feedback.
-
Found this in Google while trying to resolve the same issue, so describe my solution if anyone else need a help. Well, I spent a lot of time to flash my ESP32-CAM, and finnaly I found the only working solution. The main idea: are you sure your board is in bootload state? :-) That is not enough to ground GPIO0 and power up the board. You need to press the small hardware button Reset on the board's chip side after power up! I just connect +5V, RX, TX and GND to my USB dongle, connect GPIO0 to GND, plug into USB port and press Reset button. Now it runs the bootloader and ready to be flasshed even through browser! |
Beta Was this translation helpful? Give feedback.
Finally GOT IT:
Anyway have 2 modules with Tasmota32-webcam.factory.bin flashed. On one module it seems camera went dead, but this is not a problem.
Question [OT] - why firmware allways tries to init camera? Even if board type is set to ESP32-DevKitC? Should I reflash to "regular" Tasmota32 (if no plans to use camera on one of modules, but want I2C, ADS1115 and INA226 - for the last one I think I'll have to compile my own like for ESP8266?)
Where to find which pins I have free to use on WebCAM module (camera removed)?