Problem uploading an esp32

No other connected devices to GPIO pins. The error message here:

Sketch uses 1024638 bytes (78%) of program storage space. Maximum is 1310720 bytes.
Global variables use 48500 bytes (14%) of dynamic memory, leaving 279180 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.8.1
Serial port COM3
Connecting.....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 1c:69:20:96:a3:84
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0010afff...
Compressed 24976 bytes to 15972...

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed uploading: uploading error: exit status 2

The Sketch Used:

void setup() {
  // put your setup code here, to run once:
}

void loop() {
  // put your main code here, to run repeatedly:
}

Some have had luck changing the upload baud rate.

I've tried that, but it's still not working. Any other methods?

Just to be certain, when you say you tried that, do you mean that you selected Tools > Upload Speed > 115200 (the lowest upload speed option) and then attempted an upload?


An alternative possible cause: It is possible for a short on the Arduino board to interfere with the upload process, causing this type of upload error.

Make sure the board is not sitting on anything conductive that could short the contacts on the bottom of the board. Make sure there isn't any conductive debris (e.g., loose beads of solder, strands of wire, or component leads) on the board or on the surface the board is sitting on.

Does this translate to: nothing connected to Gpio pins?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.