Page 1 of 1

Getting this error while uploading a sketch to ESP32-Cam module

Posted: Tue Jan 19, 2021 5:50 pm
by espressof
While following this tutorial:
https://randomnerdtutorials.com/esp32-c ... duino-ide/

I am getting this error when (trying to) uploading the sketch:

Code: Select all

    esptool.py v2.6
    Serial port /dev/cu.usbmodem14101
    Connecting....
    Chip is ESP32D0WDQ5 (revision 1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    MAC: f4:cf:a2:9a:0d:b0
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 460800
    Changed.
    Configuring flash size...
    
    A fatal error occurred: Invalid head of packet (0xF8)
    A fatal error occurred: Invalid head of packet (0xF8)
So it seems like it is connecting in some way, but for some reason the connection gets aborted.

Can anyone point me into the right direction to resolve this issue? Can it be a hardware problem?

Re: Getting this error while uploading a sketch to ESP32-Cam module

Posted: Tue Jan 19, 2021 10:22 pm
by Agree007
Have you selected the right module in Arduino and running the latest version ?
If yes I have No clue .

Re: Getting this error while uploading a sketch to ESP32-Cam module

Posted: Sun Jan 24, 2021 1:47 pm
by Michalpu
There is a recommendation to press button while loading the sketch
https://docs.espressif.com/projects/esp ... tml#upload