I can do it with esptool for the ESP32, but not for the ESP32-CAM.
I have tried to connect the ESP32-CAM via Arduino UNO, via FTDI and via ESP32-CAM-MB.
Arduino: 1.8.19 (Linux), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 40MHz, 115200, None"
Code: Select all
henkoegema @ HP-Pavilion ~ => esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
henkoegema @ HP-Pavilion ~ => esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
henkoegema @ HP-Pavilion ~ => esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
henkoegema @ HP-Pavilion ~ => esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v4.5.1
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
henkoegema @ HP-Pavilion ~ =>
esptool.py v3.0-dev
Serial port /dev/ttyACM0
Connecting........_____....._____....._____....._____....._____....._____.....____An error occurred while uploading the sketch
_
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
I noticed that the flash light is permanently on (with low light intensity)
(It is also possible that I damaged the ESP-CAM during testing )