1

When i try to upload code to the esp32 the following error shows up in the command line:

A fatal error occurred: Packet content transfer stopped (received 8 bytes).

I use platformio in VScode the platform.ini file looks like this:

    [env:esp-wrover-kit]
    platform = espressif32
    board = esp-wrover-kit
    framework = arduino
    upload_port = COM4
    monitor_speed = 115200

Here's the code i'm trying to upload:

#include <Arduino.h>

void setup() {
    Serial.begin(115200);
    Serial.println("init");
}

void loop() {
}

It's an esp32-wrover-dev from freenove. When i unplug it and plug it back in it starts to write random stuff to the serial monitor, when i attempt an upload it stops but it also gives me the error above.

0

2 Answers 2

2

I was able to resolve this issue by detaching jumpers that i had connected to the GPIO 12/13 pins during upload.

After uploading they can be attached again. See this github issue: https://github.com/espressif/arduino-esp32/issues/2415

1
  • I was using GPIO 12 and detaching it worked for me.
    – Ron
    Nov 7 at 19:11
1

For anyone wondering, i found out it means that there's some kind of disconnect between the computer from which your uploading and the file system. Essentially, the esp32 is broken.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.