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

espressof
Posts: 1
Joined: Tue Jan 19, 2021 5:48 pm

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

Postby espressof » Tue Jan 19, 2021 5:50 pm

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?

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

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

Postby Agree007 » Tue Jan 19, 2021 10:22 pm

Have you selected the right module in Arduino and running the latest version ?
If yes I have No clue .

Michalpu
Posts: 22
Joined: Sun Jan 24, 2021 1:37 pm

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

Postby Michalpu » Sun Jan 24, 2021 1:47 pm

There is a recommendation to press button while loading the sketch
https://docs.espressif.com/projects/esp ... tml#upload
Content creator at https://911electronic.com

Who is online

Users browsing this forum: No registered users and 92 guests